#8966F7#8966F7

#8966F7 is a mid, highly saturated violet. Relative luminance 0.215; OKLCH L 61.9% C 0.207 H 290.1°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#8966F7
RGBrgb(137, 102, 247)
HSLhsl(254, 90%, 68%)
HSVhsv(254, 59%, 97%)
CMYKcmyk(44.5%, 58.7%, 0%, 3.1%)
CIE-LABlab(53.53, 47.60, -68.13)
CIE-LCHlch(53.53, 83.11, 304.94°)
OKLaboklab(61.94% 0.0713 -0.1945)
OKLCHoklch(61.94% 0.207 290.1)
XYZxyz(31.8517, 21.5354, 90.4562)
Luminance0.2154 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8966F7 #D4F766
analogous
#668BF7 #8966F7 #D266F7
triadic
#8966F7 #F78966 #66F789
tetradic
#8966F7 #F7668B #D4F766 #66F7D2
square
#8966F7 #F7668B #D4F766 #66F7D2
split-complementary
#8966F7 #F7D266 #8BF766
monochromatic
#3D0BD7 #5C2CF4 #8966F7 #B6A0FA #E3DAFD

Accessibility & contrast

On white

3.96
#8966F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#8966F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8966F7
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8966F7#FFFFFF#000000##000000
##8966F71.003.965.315.31
#FFFFFF3.961.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FC
Deuteranopia (green-blind)
#007DF4
Tritanopia (blue-blind)
#6887A5
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8966f7;
/* rgb */ color: rgb(137, 102, 247);
/* oklch */ color: oklch(61.9% 0.207 290.1);
Tailwind
colors: {
  custom: {
    50: '#b293fb',
    500: '#8966f7',
    950: '#000000',
  },
}
SCSS
$custom: #8966f7;
$custom-light: #b293fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8966f7",
  "rgb": {
    "r": 137,
    "g": 102,
    "b": 247
  },
  "hsl": {
    "h": 254.483,
    "s": 90.062,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61943,
    "c": 0.20715,
    "h": 290.1
  },
  "luminance": 0.21537
}

Semantic roles & 50–950 ramp

primary
#8966F7
secondary
#E8F2C7
accent
#E600AE
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85

Preview Lab

Preview with #8966F7

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

Preview Lab → · Contrast checker → · Palette generator →

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