#9651CB#9651CB

#9651CB is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.2% C 0.186 H 307.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9651CB
RGBrgb(150, 81, 203)
HSLhsl(274, 54%, 56%)
HSVhsv(274, 60%, 80%)
CMYKcmyk(26.1%, 60.1%, 0%, 20.4%)
CIE-LABlab(47.86, 50.57, -52.33)
CIE-LCHlch(47.86, 72.77, 314.02°)
OKLaboklab(57.22% 0.1137 -0.1476)
OKLCHoklch(57.22% 0.186 307.6)
XYZxyz(26.2974, 16.6810, 58.3227)
Luminance0.1668 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651CB #86CB51
analogous
#5951CB #9651CB #CB51C3
triadic
#9651CB #CB9651 #51CB96
tetradic
#9651CB #CB5951 #86CB51 #51C3CB
square
#9651CB #CB5951 #86CB51 #51C3CB
split-complementary
#9651CB #C3CB51 #51CB59
monochromatic
#57257C #7733AC #9651CB #B280D9 #CFAFE7

Accessibility & contrast

On white

4.84
#9651CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#9651CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9651CB
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651CB#FFFFFF#000000##FFFFFF
##9651CB1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#8E6986
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9651cb;
/* rgb */ color: rgb(150, 81, 203);
/* oklch */ color: oklch(57.2% 0.186 307.6);
Tailwind
colors: {
  custom: {
    50: '#b885db',
    500: '#9651cb',
    950: '#000000',
  },
}
SCSS
$custom: #9651cb;
$custom-light: #b885db;
$custom-dark: #000000;
JSON
{
  "hex": "#9651cb",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 273.934,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.57215,
    "c": 0.18636,
    "h": 307.6
  },
  "luminance": 0.16681
}

Semantic roles & 50–950 ramp

primary
#9651CB
secondary
#B9D5A3
accent
#DD4A8A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9651CB

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

Preview Lab → · Contrast checker → · Palette generator →

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