#966CEB#966CEB

#966CEB is a light, vivid violet. Relative luminance 0.232; OKLCH L 63.3% C 0.185 H 296.0°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#966CEB
RGBrgb(150, 108, 235)
HSLhsl(260, 76%, 67%)
HSVhsv(260, 54%, 92%)
CMYKcmyk(36.2%, 54%, 0%, 7.8%)
CIE-LABlab(55.28, 43.92, -58.56)
CIE-LCHlch(55.28, 73.20, 306.87°)
OKLaboklab(63.28% 0.0808 -0.1659)
OKLCHoklch(63.28% 0.185 296)
XYZxyz(32.9318, 23.2067, 81.3255)
Luminance0.2321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#966CEB #C1EB6C
analogous
#6C81EB #966CEB #D66CEB
triadic
#966CEB #EB966C #6CEB96
tetradic
#966CEB #EB6C81 #C1EB6C #6CEBD6
square
#966CEB #EB6C81 #C1EB6C #6CEBD6
split-complementary
#966CEB #EBD66C #81EB6C
monochromatic
#521AC2 #7036E4 #966CEB #BCA2F2 #E3D8FA

Accessibility & contrast

On white

3.72
#966CEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#966CEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #966CEB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##966CEB#FFFFFF#000000##000000
##966CEB1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3485EF
Deuteranopia (green-blind)
#4083E8
Tritanopia (blue-blind)
#8286A1
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #966ceb;
/* rgb */ color: rgb(150, 108, 235);
/* oklch */ color: oklch(63.3% 0.185 296.0);
Tailwind
colors: {
  custom: {
    50: '#b997f2',
    500: '#966ceb',
    950: '#000000',
  },
}
SCSS
$custom: #966ceb;
$custom-light: #b997f2;
$custom-dark: #000000;
JSON
{
  "hex": "#966ceb",
  "rgb": {
    "r": 150,
    "g": 108,
    "b": 235
  },
  "hsl": {
    "h": 259.843,
    "s": 76.048,
    "l": 67.255
  },
  "oklch": {
    "l": 0.63283,
    "c": 0.18456,
    "h": 296
  },
  "luminance": 0.23207
}

Semantic roles & 50–950 ramp

primary
#966CEB
secondary
#E0EDC5
accent
#D80D95
background
#FBF9FE
surface
#F7F2FD
border
#D0CCD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #966CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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