#8966EC#8966EC

#8966EC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.2% C 0.194 H 291.7°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#8966EC
RGBrgb(137, 102, 236)
HSLhsl(256, 78%, 66%)
HSVhsv(256, 57%, 93%)
CMYKcmyk(41.9%, 56.8%, 0%, 7.5%)
CIE-LABlab(52.81, 44.59, -63.15)
CIE-LCHlch(52.81, 77.31, 305.22°)
OKLaboklab(61.19% 0.0715 -0.1798)
OKLCHoklch(61.19% 0.194 291.7)
XYZxyz(30.2041, 20.8763, 81.7788)
Luminance0.2088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8966EC #C9EC66
analogous
#6686EC #8966EC #CC66EC
triadic
#8966EC #EC8966 #66EC89
tetradic
#8966EC #EC6686 #C9EC66 #66ECCC
square
#8966EC #EC6686 #C9EC66 #66ECCC
split-complementary
#8966EC #ECCC66 #86EC66
monochromatic
#4418C0 #5F30E5 #8966EC #B39CF3 #DDD3FA

Accessibility & contrast

On white

4.06
#8966EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#8966EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8966EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8966EC#FFFFFF#000000##000000
##8966EC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1280F0
Deuteranopia (green-blind)
#217BE9
Tritanopia (blue-blind)
#6D839F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8966ec;
/* rgb */ color: rgb(137, 102, 236);
/* oklch */ color: oklch(61.2% 0.194 291.7);
Tailwind
colors: {
  custom: {
    50: '#b193f3',
    500: '#8966ec',
    950: '#000000',
  },
}
SCSS
$custom: #8966ec;
$custom-light: #b193f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8966ec",
  "rgb": {
    "r": 137,
    "g": 102,
    "b": 236
  },
  "hsl": {
    "h": 255.672,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.61188,
    "c": 0.19354,
    "h": 291.7
  },
  "luminance": 0.20877
}

Semantic roles & 50–950 ramp

primary
#8966EC
secondary
#E1EDC1
accent
#DA0BA4
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8966EC

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

Preview Lab → · Contrast checker → · Palette generator →

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