#966EF8#966EF8

#966EF8 is a light, vivid violet. Relative luminance 0.244; OKLCH L 64.4% C 0.198 H 293.4°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#966EF8
RGBrgb(150, 110, 248)
HSLhsl(257, 91%, 70%)
HSVhsv(257, 56%, 97%)
CMYKcmyk(39.5%, 55.6%, 0%, 2.7%)
CIE-LABlab(56.50, 46.20, -63.84)
CIE-LCHlch(56.50, 78.81, 305.89°)
OKLaboklab(64.43% 0.0787 -0.1815)
OKLCHoklch(64.43% 0.198 293.4)
XYZxyz(35.0924, 24.4123, 91.6519)
Luminance0.2441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#966EF8 #D0F86E
analogous
#6E8BF8 #966EF8 #DB6EF8
triadic
#966EF8 #F8966E #6EF896
tetradic
#966EF8 #F86E8B #D0F86E #6EF8DB
square
#966EF8 #F86E8B #D0F86E #6EF8DB
split-complementary
#966EF8 #F8DB6E #8BF86E
monochromatic
#490BE1 #6C34F5 #966EF8 #C0A8FB #EAE2FE

Accessibility & contrast

On white

3.57
#966EF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#966EF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #966EF8
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##966EF8#FFFFFF#000000##000000
##966EF81.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2589FD
Deuteranopia (green-blind)
#3285F5
Tritanopia (blue-blind)
#7C8BA9
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #966ef8;
/* rgb */ color: rgb(150, 110, 248);
/* oklch */ color: oklch(64.4% 0.198 293.4);
Tailwind
colors: {
  custom: {
    50: '#ba99fb',
    500: '#966ef8',
    950: '#000000',
  },
}
SCSS
$custom: #966ef8;
$custom-light: #ba99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#966ef8",
  "rgb": {
    "r": 150,
    "g": 110,
    "b": 248
  },
  "hsl": {
    "h": 257.391,
    "s": 90.789,
    "l": 70.196
  },
  "oklch": {
    "l": 0.6443,
    "c": 0.19778,
    "h": 293.4
  },
  "luminance": 0.24413
}

Semantic roles & 50–950 ramp

primary
#966EF8
secondary
#E9F4CE
accent
#E600A3
background
#FBF9FF
surface
#F7F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #966EF8

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

Preview Lab → · Contrast checker → · Palette generator →

#966EF8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva