#A874EA#A874EA

#A874EA is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.2% C 0.174 H 302.2°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#A874EA
RGBrgb(168, 116, 234)
HSLhsl(266, 74%, 69%)
HSVhsv(266, 50%, 92%)
CMYKcmyk(28.2%, 50.4%, 0%, 8.2%)
CIE-LABlab(58.75, 43.69, -52.37)
CIE-LCHlch(58.75, 68.20, 309.84°)
OKLaboklab(66.25% 0.0929 -0.1473)
OKLCHoklch(66.25% 0.174 302.2)
XYZxyz(37.2418, 26.7561, 81.0284)
Luminance0.2676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A874EA #B6EA74
analogous
#747BEA #A874EA #E374EA
triadic
#A874EA #EAA874 #74EAA8
tetradic
#A874EA #EA747B #B6EA74 #74EAE3
square
#A874EA #EA747B #B6EA74 #74EAE3
split-complementary
#A874EA #EAE374 #7BEA74
monochromatic
#681EC6 #873FE2 #A874EA #C9A9F2 #EBDEFA

Accessibility & contrast

On white

3.31
#A874EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#A874EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A874EA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A874EA#FFFFFF#000000##000000
##A874EA1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D8CEE
Deuteranopia (green-blind)
#5C8DE7
Tritanopia (blue-blind)
#9C8AA4
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #a874ea;
/* rgb */ color: rgb(168, 116, 234);
/* oklch */ color: oklch(66.2% 0.174 302.2);
Tailwind
colors: {
  custom: {
    50: '#c59df1',
    500: '#a874ea',
    950: '#000000',
  },
}
SCSS
$custom: #a874ea;
$custom-light: #c59df1;
$custom-dark: #000000;
JSON
{
  "hex": "#a874ea",
  "rgb": {
    "r": 168,
    "g": 116,
    "b": 234
  },
  "hsl": {
    "h": 266.441,
    "s": 73.75,
    "l": 68.627
  },
  "oklch": {
    "l": 0.66248,
    "c": 0.17416,
    "h": 302.2
  },
  "luminance": 0.26756
}

Semantic roles & 50–950 ramp

primary
#A874EA
secondary
#DFEFCB
accent
#D6107F
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85

Preview Lab

Preview with #A874EA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A874EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva