#9654CC#9654CC

#9654CC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.183 H 306.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9654CC
RGBrgb(150, 84, 204)
HSLhsl(273, 54%, 56%)
HSVhsv(273, 59%, 80%)
CMYKcmyk(26.5%, 58.8%, 0%, 20%)
CIE-LABlab(48.49, 49.25, -51.89)
CIE-LCHlch(48.49, 71.54, 313.51°)
OKLaboklab(57.7% 0.11 -0.1463)
OKLCHoklch(57.7% 0.183 306.9)
XYZxyz(26.6448, 17.1846, 59.0283)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CC #8ACC54
analogous
#5A54CC #9654CC #CC54C6
triadic
#9654CC #CC9654 #54CC96
tetradic
#9654CC #CC5A54 #8ACC54 #54C6CC
square
#9654CC #CC5A54 #8ACC54 #54C6CC
split-complementary
#9654CC #C6CC54 #54CC5A
monochromatic
#572680 #7834AF #9654CC #B383DA #D0B2E8

Accessibility & contrast

On white

4.73
#9654CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9654CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CC#FFFFFF#000000##FFFFFF
##9654CC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#8D6B88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9654cc;
/* rgb */ color: rgb(150, 84, 204);
/* oklch */ color: oklch(57.7% 0.183 306.9);
Tailwind
colors: {
  custom: {
    50: '#b887dc',
    500: '#9654cc',
    950: '#000000',
  },
}
SCSS
$custom: #9654cc;
$custom-light: #b887dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9654cc",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 273,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57698,
    "c": 0.18307,
    "h": 306.9
  },
  "luminance": 0.17184
}

Semantic roles & 50–950 ramp

primary
#9654CC
secondary
#BBD7A5
accent
#DD4A8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CC

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

Preview Lab → · Contrast checker → · Palette generator →

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