#8966EF#8966EF

#8966EF is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.4% C 0.197 H 291.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8966EF
RGBrgb(137, 102, 239)
HSLhsl(255, 81%, 67%)
HSVhsv(255, 57%, 94%)
CMYKcmyk(42.7%, 57.3%, 0%, 6.3%)
CIE-LABlab(53.01, 45.41, -64.52)
CIE-LCHlch(53.01, 78.90, 305.14°)
OKLaboklab(61.39% 0.0715 -0.1839)
OKLCHoklch(61.39% 0.197 291.2)
XYZxyz(30.6436, 21.0521, 84.0935)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8966EF #CCEF66
analogous
#6688EF #8966EF #CD66EF
triadic
#8966EF #EF8966 #66EF89
tetradic
#8966EF #EF6688 #CCEF66 #66EFCD
square
#8966EF #EF6688 #CCEF66 #66EFCD
split-complementary
#8966EF #EFCD66 #88EF66
monochromatic
#4215C6 #5E2FE9 #8966EF #B49DF5 #DED5FB

Accessibility & contrast

On white

4.03
#8966EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#8966EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8966EF
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8966EF#FFFFFF#000000##000000
##8966EF1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0481F4
Deuteranopia (green-blind)
#197CEC
Tritanopia (blue-blind)
#6C84A1
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8966ef;
/* rgb */ color: rgb(137, 102, 239);
/* oklch */ color: oklch(61.4% 0.197 291.2);
Tailwind
colors: {
  custom: {
    50: '#b193f5',
    500: '#8966ef',
    950: '#000000',
  },
}
SCSS
$custom: #8966ef;
$custom-light: #b193f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8966ef",
  "rgb": {
    "r": 137,
    "g": 102,
    "b": 239
  },
  "hsl": {
    "h": 255.328,
    "s": 81.065,
    "l": 66.863
  },
  "oklch": {
    "l": 0.61391,
    "c": 0.19727,
    "h": 291.2
  },
  "luminance": 0.21053
}

Semantic roles & 50–950 ramp

primary
#8966EF
secondary
#E3EEC2
accent
#DD08A7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #8966EF

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

Preview Lab → · Contrast checker → · Palette generator →

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