#9654CD#9654CD

#9654CD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.8% C 0.184 H 306.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9654CD
RGBrgb(150, 84, 205)
HSLhsl(273, 55%, 57%)
HSVhsv(273, 59%, 80%)
CMYKcmyk(26.8%, 59%, 0%, 19.6%)
CIE-LABlab(48.55, 49.49, -52.36)
CIE-LCHlch(48.55, 72.05, 313.38°)
OKLaboklab(57.76% 0.11 -0.1477)
OKLCHoklch(57.76% 0.184 306.7)
XYZxyz(26.7651, 17.2327, 59.6620)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CD #8BCD54
analogous
#5A54CD #9654CD #CD54C8
triadic
#9654CD #CD9654 #54CD96
tetradic
#9654CD #CD5A54 #8BCD54 #54C8CD
square
#9654CD #CD5A54 #8BCD54 #54C8CD
split-complementary
#9654CD #C8CD54 #54CD5A
monochromatic
#572681 #7834B0 #9654CD #B383DB #D0B3E9

Accessibility & contrast

On white

4.72
#9654CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9654CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CD
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CD#FFFFFF#000000##FFFFFF
##9654CD1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#8D6C89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9654cd;
/* rgb */ color: rgb(150, 84, 205);
/* oklch */ color: oklch(57.8% 0.184 306.7);
Tailwind
colors: {
  custom: {
    50: '#b887dd',
    500: '#9654cd',
    950: '#000000',
  },
}
SCSS
$custom: #9654cd;
$custom-light: #b887dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9654cd",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 272.727,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57761,
    "c": 0.18419,
    "h": 306.7
  },
  "luminance": 0.17232
}

Semantic roles & 50–950 ramp

primary
#9654CD
secondary
#BCD7A6
accent
#DE4A8D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CD

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

Preview Lab → · Contrast checker → · Palette generator →

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