#9664DC#9664DC

#9664DC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.1% C 0.178 H 300.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9664DC
RGBrgb(150, 100, 220)
HSLhsl(265, 63%, 63%)
HSVhsv(265, 55%, 86%)
CMYKcmyk(31.8%, 54.5%, 0%, 13.7%)
CIE-LABlab(52.69, 44.54, -54.28)
CIE-LCHlch(52.69, 70.21, 309.37°)
OKLaboklab(61.09% 0.0902 -0.1534)
OKLCHoklch(61.09% 0.178 300.4)
XYZxyz(30.0501, 20.7655, 70.1213)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9664DC #AADC64
analogous
#646EDC #9664DC #D264DC
triadic
#9664DC #DC9664 #64DC96
tetradic
#9664DC #DC646E #AADC64 #64DCD2
square
#9664DC #DC646E #AADC64 #64DCD2
split-complementary
#9664DC #DCD264 #6EDC64
monochromatic
#5824A1 #7432D1 #9664DC #B896E7 #DAC8F3

Accessibility & contrast

On white

4.08
#9664DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#9664DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9664DC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9664DC#FFFFFF#000000##000000
##9664DC1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#347DE0
Deuteranopia (green-blind)
#447DD9
Tritanopia (blue-blind)
#887C96
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9664dc;
/* rgb */ color: rgb(150, 100, 220);
/* oklch */ color: oklch(61.1% 0.178 300.4);
Tailwind
colors: {
  custom: {
    50: '#b892e7',
    500: '#9664dc',
    950: '#000000',
  },
}
SCSS
$custom: #9664dc;
$custom-light: #b892e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9664dc",
  "rgb": {
    "r": 150,
    "g": 100,
    "b": 220
  },
  "hsl": {
    "h": 265,
    "s": 63.158,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61085,
    "c": 0.17794,
    "h": 300.4
  },
  "luminance": 0.20766
}

Semantic roles & 50–950 ramp

primary
#9664DC
secondary
#D2E4B8
accent
#CB1B81
background
#FBF9FE
surface
#F6F1FC
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9664DC

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

Preview Lab → · Contrast checker → · Palette generator →

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