#9651CA#9651CA

#9651CA is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.2% C 0.185 H 307.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9651CA
RGBrgb(150, 81, 202)
HSLhsl(274, 53%, 55%)
HSVhsv(274, 60%, 79%)
CMYKcmyk(25.7%, 59.9%, 0%, 20.8%)
CIE-LABlab(47.79, 50.34, -51.85)
CIE-LCHlch(47.79, 72.27, 314.15°)
OKLaboklab(57.15% 0.1137 -0.1462)
OKLCHoklch(57.15% 0.185 307.9)
XYZxyz(26.1786, 16.6335, 57.6972)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651CA #85CA51
analogous
#5951CA #9651CA #CA51C1
triadic
#9651CA #CA9651 #51CA96
tetradic
#9651CA #CA5951 #85CA51 #51C1CA
square
#9651CA #CA5951 #85CA51 #51C1CA
split-complementary
#9651CA #C1CA51 #51CA59
monochromatic
#56257B #7734AA #9651CA #B280D8 #CFAFE7

Accessibility & contrast

On white

4.85
#9651CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9651CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651CA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651CA#FFFFFF#000000##FFFFFF
##9651CA1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6FCE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#8E6986
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9651ca;
/* rgb */ color: rgb(150, 81, 202);
/* oklch */ color: oklch(57.2% 0.185 307.9);
Tailwind
colors: {
  custom: {
    50: '#b885db',
    500: '#9651ca',
    950: '#000000',
  },
}
SCSS
$custom: #9651ca;
$custom-light: #b885db;
$custom-dark: #000000;
JSON
{
  "hex": "#9651ca",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 274.215,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57151,
    "c": 0.18526,
    "h": 307.9
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

primary
#9651CA
secondary
#B8D5A2
accent
#DD4B8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9651CA

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

Preview Lab → · Contrast checker → · Palette generator →

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