#8966E5#8966E5

#8966E5 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.7% C 0.185 H 292.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8966E5
RGBrgb(137, 102, 229)
HSLhsl(257, 71%, 65%)
HSVhsv(257, 55%, 90%)
CMYKcmyk(40.2%, 55.5%, 0%, 10.2%)
CIE-LABlab(52.37, 42.70, -59.94)
CIE-LCHlch(52.37, 73.59, 305.46°)
OKLaboklab(60.72% 0.0715 -0.1704)
OKLCHoklch(60.72% 0.185 292.8)
XYZxyz(29.2070, 20.4775, 76.5273)
Luminance0.2048 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8966E5 #C2E566
analogous
#6683E5 #8966E5 #C866E5
triadic
#8966E5 #E58966 #66E589
tetradic
#8966E5 #E56683 #C2E566 #66E5C8
square
#8966E5 #E56683 #C2E566 #66E5C8
split-complementary
#8966E5 #E5C866 #83E566
monochromatic
#471EB2 #6132DC #8966E5 #B19AEE #DACFF7

Accessibility & contrast

On white

4.12
#8966E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8966E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8966E5
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8966E5#FFFFFF#000000##000000
##8966E51.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247FE9
Deuteranopia (green-blind)
#2E7BE2
Tritanopia (blue-blind)
#71819C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8966e5;
/* rgb */ color: rgb(137, 102, 229);
/* oklch */ color: oklch(60.7% 0.185 292.8);
Tailwind
colors: {
  custom: {
    50: '#b193ee',
    500: '#8966e5',
    950: '#000000',
  },
}
SCSS
$custom: #8966e5;
$custom-light: #b193ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8966e5",
  "rgb": {
    "r": 137,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 256.535,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60722,
    "c": 0.18477,
    "h": 292.8
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#8966E5
secondary
#DDE9BE
accent
#D3139E
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D16
muted
#807E84

Preview Lab

Preview with #8966E5

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

Preview Lab → · Contrast checker → · Palette generator →

#8966E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva