#9651CC#9651CC

#9651CC is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.3% C 0.187 H 307.3°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9651CC
RGBrgb(150, 81, 204)
HSLhsl(274, 55%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26.5%, 60.3%, 0%, 20%)
CIE-LABlab(47.92, 50.80, -52.81)
CIE-LCHlch(47.92, 73.27, 313.89°)
OKLaboklab(57.28% 0.1137 -0.149)
OKLCHoklch(57.28% 0.187 307.3)
XYZxyz(26.4169, 16.7288, 58.9524)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651CC #87CC51
analogous
#5851CC #9651CC #CC51C4
triadic
#9651CC #CC9651 #51CC96
tetradic
#9651CC #CC5851 #87CC51 #51C4CC
square
#9651CC #CC5851 #87CC51 #51C4CC
split-complementary
#9651CC #C4CC51 #51CC58
monochromatic
#57257E #7733AD #9651CC #B380DA #CFB0E8

Accessibility & contrast

On white

4.83
#9651CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#9651CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651CC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651CC#FFFFFF#000000##FFFFFF
##9651CC1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FD0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#8E6987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9651cc;
/* rgb */ color: rgb(150, 81, 204);
/* oklch */ color: oklch(57.3% 0.187 307.3);
Tailwind
colors: {
  custom: {
    50: '#b885dc',
    500: '#9651cc',
    950: '#000000',
  },
}
SCSS
$custom: #9651cc;
$custom-light: #b885dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9651cc",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 204
  },
  "hsl": {
    "h": 273.659,
    "s": 54.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57279,
    "c": 0.18746,
    "h": 307.3
  },
  "luminance": 0.16729
}

Semantic roles & 50–950 ramp

primary
#9651CC
secondary
#B9D6A3
accent
#DE4A8B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9651CC

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

Preview Lab → · Contrast checker → · Palette generator →

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