Skip to content

#a74eee

a balanced, electric violet · cool · closest name: Medium Orchid

RGB
167, 78, 238
HSL
273°, 83%, 62%
CMYK
30, 67, 0, 7
Luminance
0.1984

At a glance

Every number on this page in one read: what #a74eee is made of, how bright it looks, and which way it leans.

Hex
#a74eee
Hue
273°
violet
Saturation
83%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1984
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.97:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue273° of 360°
Saturation83%
Lightness62%
Temperature
Warm ← → Cool65% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#a74eee
RGBrgb(167, 78, 238)
HSLhsl(273, 83%, 62%)
CMYKcmyk(30%, 67%, 0%, 7%)
LABlab(51.6 63.6 -66.0)
LCHlch(51.6 91.7 314.0)
OKLCHoklch(0.611 0.232 306.1)
Decimal10964718
Display P3color(display-p3 0.655 0.306 0.933)

Copy-ready code

/* CSS */
color: #a74eee;
background-color: #a74eee;
/* Tailwind (arbitrary) */
class="text-[#a74eee] bg-[#a74eee]"
/* SCSS */
$brand: #a74eee;
/* SwiftUI */
Color(red: 0.655, green: 0.306, blue: 0.933)
/* Android */
Color.parseColor("#a74eee")
/* Flutter */
Color(0xFFA74EEE)
/* Python / OpenCV (BGR) */
(238, 78, 167)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #a74eee · 4.97:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 4.23:1
AA fail · AA large pass · AAA fail
Aa
Black text · 4.97:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #a74eee as text scores 4.23:1 on white and 4.97:1 on black.

Accessibility — WCAG contrast

Aa
#a74eee on white: 4.23:1
AA ✗ fail · AA-large · AAA
Aa
#a74eee on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0078F3
deuteranopia · #1D7CEB
tritanopia · #9B7298

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a74eee is pinned to step 400; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F2FC
#F1E6FA
#E1C6F6
#CC99F5
#a74eee
#9932EB
#8615DF
#7012BA
#590E95
#420F6C
#2A0943
Base = 400Lightest = 50 · #F8F2FCDarkest = 950 · #2A0943
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F1E6FA;
  --brand-200: #E1C6F6;
  --brand-300: #CC99F5;
  --brand-400: #a74eee;
  --brand-500: #9932EB;
  --brand-600: #8615DF;
  --brand-700: #7012BA;
  --brand-800: #590E95;
  --brand-900: #420F6C;
  --brand-950: #2A0943;
  --brand: #a74eee;
  --brand-ink: #000000;
}

Colors that work with #a74eee

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#D9C0ED
Hairlines and dividers
Muted text#774B9B
Captions on the surface
Accent#89BE0E
Second voice, not a rival
Dark variant#460B74
Hover, pressed, headers
Light variant#F3E8FD
Selected rows, tints
Dark surface#1D1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #a74eee

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#95EE4E
Analogous left#574EEE
Analogous right#EE4EE5
Split-complement 1#E5EE4E
Split-complement 2#4EEE57
Triadic 1#EEA74E
Triadic 2#4EEEA7
Tetradic#EE574E

RGB percentages

Red65.5%
Green30.6%
Blue93.3%

CMYK percentages

Cyan29.8%
Magenta67.2%
Yellow0.0%
Key (black)6.7%

Color previews

#a74eee text on a black background

contrast 4.97:1

Card sample

#a74eee text on a white background

contrast 4.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #a74eee;
Background color
Panel with #a74eee background
background-color: #a74eee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #a74eee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(167, 78, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 78, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a74eee;
background: linear-gradient(135deg, #a74eee, #EE4ECA);

Monochromatic scale

Palettes built from #a74eee

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#a74eee in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a74eee, answered

What color is #a74eee?

#a74eee is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.4). It sits at 273° on the hue wheel with 83% saturation and 62% lightness, which reads as cool.

What is the RGB value of #a74eee?

rgb(167, 78, 238) — 167 red, 78 green and 238 blue out of 255, or 65.5% / 30.6% / 93.3% by channel.

Is #a74eee a light or a dark color?

It is a mid-tone. Relative luminance is 0.1984 and perceived brightness is 53%, so black text on it reaches 4.97:1.

Should I use black or white text on #a74eee?

Black. It scores 4.97:1 against #a74eee, versus 4.23:1 for white — AA at any size.

What is the complementary color of #a74eee?

#95EE4E sits directly opposite on the wheel. Softer options are the split-complements #E5EE4E and #4EEE57, which give the same contrast with far less vibration.

What colors go well with #a74eee?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #774B9B for secondary text, #89BE0E as an accent and #460B74 for hover and pressed states. For a palette, the analogous pair #574EEE and #EE4EE5 stays calm, while #95EE4E is the loudest partner.

What is #a74eee in CMYK for printing?

cmyk(30%, 67%, 0%, 7%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #a74eee warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E24EEE; nudged cooler, #6B4CF0.

Work with #a74eee in the Color Lab