#9654CB#9654CB

#9654CB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.6% C 0.182 H 307.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9654CB
RGBrgb(150, 84, 203)
HSLhsl(273, 53%, 56%)
HSVhsv(273, 59%, 80%)
CMYKcmyk(26.1%, 58.6%, 0%, 20.4%)
CIE-LABlab(48.43, 49.02, -51.41)
CIE-LCHlch(48.43, 71.03, 313.64°)
OKLaboklab(57.64% 0.11 -0.1449)
OKLCHoklch(57.64% 0.182 307.2)
XYZxyz(26.5253, 17.1368, 58.3987)
Luminance0.1714 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CB #89CB54
analogous
#5B54CB #9654CB #CB54C5
triadic
#9654CB #CB9654 #54CB96
tetradic
#9654CB #CB5B54 #89CB54 #54C5CB
square
#9654CB #CB5B54 #89CB54 #54C5CB
split-complementary
#9654CB #C5CB54 #54CB5B
monochromatic
#57267E #7735AD #9654CB #B383D9 #D0B2E8

Accessibility & contrast

On white

4.74
#9654CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9654CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CB
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CB#FFFFFF#000000##FFFFFF
##9654CB1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#8E6B87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9654cb;
/* rgb */ color: rgb(150, 84, 203);
/* oklch */ color: oklch(57.6% 0.182 307.2);
Tailwind
colors: {
  custom: {
    50: '#b887db',
    500: '#9654cb',
    950: '#000000',
  },
}
SCSS
$custom: #9654cb;
$custom-light: #b887db;
$custom-dark: #000000;
JSON
{
  "hex": "#9654cb",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 273.277,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57635,
    "c": 0.18195,
    "h": 307.2
  },
  "luminance": 0.17136
}

Semantic roles & 50–950 ramp

primary
#9654CB
secondary
#BBD6A5
accent
#DD4B8C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CB

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

Preview Lab → · Contrast checker → · Palette generator →

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