#9654CE#9654CE

#9654CE is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.8% C 0.185 H 306.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9654CE
RGBrgb(150, 84, 206)
HSLhsl(272, 55%, 57%)
HSVhsv(272, 59%, 81%)
CMYKcmyk(27.2%, 59.2%, 0%, 19.2%)
CIE-LABlab(48.61, 49.72, -52.84)
CIE-LCHlch(48.61, 72.55, 313.26°)
OKLaboklab(57.83% 0.11 -0.1491)
OKLCHoklch(57.83% 0.185 306.4)
XYZxyz(26.8862, 17.2812, 60.2998)
Luminance0.1728 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CE #8CCE54
analogous
#5954CE #9654CE #CE54C9
triadic
#9654CE #CE9654 #54CE96
tetradic
#9654CE #CE5954 #8CCE54 #54C9CE
square
#9654CE #CE5954 #8CCE54 #54C9CE
split-complementary
#9654CE #C9CE54 #54CE59
monochromatic
#582582 #7833B2 #9654CE #B384DC #D0B3E9

Accessibility & contrast

On white

4.71
#9654CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9654CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CE
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CE#FFFFFF#000000##FFFFFF
##9654CE1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#8D6C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9654ce;
/* rgb */ color: rgb(150, 84, 206);
/* oklch */ color: oklch(57.8% 0.185 306.4);
Tailwind
colors: {
  custom: {
    50: '#b887de',
    500: '#9654ce',
    950: '#000000',
  },
}
SCSS
$custom: #9654ce;
$custom-light: #b887de;
$custom-dark: #000000;
JSON
{
  "hex": "#9654ce",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 272.459,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57825,
    "c": 0.18532,
    "h": 306.4
  },
  "luminance": 0.17281
}

Semantic roles & 50–950 ramp

primary
#9654CE
secondary
#BDD8A6
accent
#DF498E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CE

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

Preview Lab → · Contrast checker → · Palette generator →

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