#8966EB#8966EB

#8966EB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.192 H 291.8°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8966EB
RGBrgb(137, 102, 235)
HSLhsl(256, 77%, 66%)
HSVhsv(256, 57%, 92%)
CMYKcmyk(41.7%, 56.6%, 0%, 7.8%)
CIE-LABlab(52.75, 44.32, -62.70)
CIE-LCHlch(52.75, 76.78, 305.26°)
OKLaboklab(61.12% 0.0715 -0.1785)
OKLCHoklch(61.12% 0.192 291.8)
XYZxyz(30.0592, 20.8184, 81.0157)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8966EB #C8EB66
analogous
#6685EB #8966EB #CB66EB
triadic
#8966EB #EB8966 #66EB89
tetradic
#8966EB #EB6685 #C8EB66 #66EBCB
square
#8966EB #EB6685 #C8EB66 #66EBCB
split-complementary
#8966EB #EBCB66 #85EB66
monochromatic
#4419BE #5F30E4 #8966EB #B39CF2 #DCD2F9

Accessibility & contrast

On white

4.07
#8966EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8966EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8966EB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8966EB#FFFFFF#000000##000000
##8966EB1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1580EF
Deuteranopia (green-blind)
#237BE8
Tritanopia (blue-blind)
#6E839F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8966eb;
/* rgb */ color: rgb(137, 102, 235);
/* oklch */ color: oklch(61.1% 0.192 291.8);
Tailwind
colors: {
  custom: {
    50: '#b193f2',
    500: '#8966eb',
    950: '#000000',
  },
}
SCSS
$custom: #8966eb;
$custom-light: #b193f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8966eb",
  "rgb": {
    "r": 137,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 255.789,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61121,
    "c": 0.19229,
    "h": 291.8
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#8966EB
secondary
#E1ECC1
accent
#D90CA3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #8966EB

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

Preview Lab → · Contrast checker → · Palette generator →

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