#9668DC#9668DC

#9668DC is a mid, vivid violet. Relative luminance 0.216; OKLCH L 61.7% C 0.172 H 299.7°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#9668DC
RGBrgb(150, 104, 220)
HSLhsl(264, 62%, 64%)
HSVhsv(264, 53%, 86%)
CMYKcmyk(31.8%, 52.7%, 0%, 13.7%)
CIE-LABlab(53.55, 42.32, -52.91)
CIE-LCHlch(53.55, 67.76, 308.66°)
OKLaboklab(61.72% 0.0851 -0.1494)
OKLCHoklch(61.72% 0.172 299.7)
XYZxyz(30.4432, 21.5517, 70.2523)
Luminance0.2155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9668DC #AEDC68
analogous
#6874DC #9668DC #D068DC
triadic
#9668DC #DC9668 #68DC96
tetradic
#9668DC #DC6874 #AEDC68 #68DCD0
square
#9668DC #DC6874 #AEDC68 #68DCD0
split-complementary
#9668DC #DCD068 #74DC68
monochromatic
#5826A4 #7336D0 #9668DC #B99AE8 #DBCBF3

Accessibility & contrast

On white

3.95
#9668DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#9668DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9668DC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9668DC#FFFFFF#000000##000000
##9668DC1.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#4A7FD9
Tritanopia (blue-blind)
#887F98
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9668dc;
/* rgb */ color: rgb(150, 104, 220);
/* oklch */ color: oklch(61.7% 0.172 299.7);
Tailwind
colors: {
  custom: {
    50: '#b894e7',
    500: '#9668dc',
    950: '#000000',
  },
}
SCSS
$custom: #9668dc;
$custom-light: #b894e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9668dc",
  "rgb": {
    "r": 150,
    "g": 104,
    "b": 220
  },
  "hsl": {
    "h": 263.793,
    "s": 62.366,
    "l": 63.529
  },
  "oklch": {
    "l": 0.61717,
    "c": 0.17192,
    "h": 299.7
  },
  "luminance": 0.21552
}

Semantic roles & 50–950 ramp

primary
#9668DC
secondary
#D4E4BB
accent
#CA1B85
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9668DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9668DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva