#9651DC#9651DC

#9651DC is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.205 H 303.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9651DC
RGBrgb(150, 81, 220)
HSLhsl(270, 67%, 59%)
HSVhsv(270, 63%, 86%)
CMYKcmyk(31.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(48.93, 54.54, -60.32)
CIE-LCHlch(48.93, 81.33, 312.12°)
OKLaboklab(58.34% 0.113 -0.1711)
OKLCHoklch(58.34% 0.205 303.4)
XYZxyz(28.4354, 17.5362, 69.5831)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651DC #97DC51
analogous
#5152DC #9651DC #DB51DC
triadic
#9651DC #DC9651 #51DC96
tetradic
#9651DC #DC5152 #97DC51 #51DCDB
square
#9651DC #DC5152 #97DC51 #51DCDB
split-complementary
#9651DC #DCDB51 #52DC51
monochromatic
#591E95 #7728C8 #9651DC #B584E6 #D3B7F0

Accessibility & contrast

On white

4.66
#9651DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9651DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9651DC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651DC#FFFFFF#000000##FFFFFF
##9651DC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#896F8F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9651dc;
/* rgb */ color: rgb(150, 81, 220);
/* oklch */ color: oklch(58.3% 0.205 303.4);
Tailwind
colors: {
  custom: {
    50: '#b986e8',
    500: '#9651dc',
    950: '#000000',
  },
}
SCSS
$custom: #9651dc;
$custom-light: #b986e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9651dc",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 269.784,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58336,
    "c": 0.20506,
    "h": 303.4
  },
  "luminance": 0.17536
}

Semantic roles & 50–950 ramp

primary
#9651DC
secondary
#C5E0A9
accent
#E93E95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651DC

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

Preview Lab → · Contrast checker → · Palette generator →

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