#9654CA#9654CA

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

Color values

HEX#9654CA
RGBrgb(150, 84, 202)
HSLhsl(274, 53%, 56%)
HSVhsv(274, 58%, 79%)
CMYKcmyk(25.7%, 58.4%, 0%, 20.8%)
CIE-LABlab(48.37, 48.79, -50.93)
CIE-LCHlch(48.37, 70.53, 313.77°)
OKLaboklab(57.57% 0.11 -0.1435)
OKLCHoklch(57.57% 0.181 307.5)
XYZxyz(26.4065, 17.0893, 57.7731)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CA #88CA54
analogous
#5B54CA #9654CA #CA54C3
triadic
#9654CA #CA9654 #54CA96
tetradic
#9654CA #CA5B54 #88CA54 #54C3CA
square
#9654CA #CA5B54 #88CA54 #54C3CA
split-complementary
#9654CA #C3CA54 #54CA5B
monochromatic
#57277D #7735AC #9654CA #B383D8 #CFB1E7

Accessibility & contrast

On white

4.75
#9654CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9654CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CA#FFFFFF#000000##FFFFFF
##9654CA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2570CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#8E6B87
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9654ca;
/* rgb */ color: rgb(150, 84, 202);
/* oklch */ color: oklch(57.6% 0.181 307.5);
Tailwind
colors: {
  custom: {
    50: '#b887db',
    500: '#9654ca',
    950: '#000000',
  },
}
SCSS
$custom: #9654ca;
$custom-light: #b887db;
$custom-dark: #000000;
JSON
{
  "hex": "#9654ca",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 273.559,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.18083,
    "h": 307.5
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#9654CA
secondary
#BAD5A5
accent
#DC4C8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CA

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

Preview Lab → · Contrast checker → · Palette generator →

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