#9654CF#9654CF

#9654CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.9% C 0.186 H 306.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9654CF
RGBrgb(150, 84, 207)
HSLhsl(272, 56%, 57%)
HSVhsv(272, 59%, 81%)
CMYKcmyk(27.5%, 59.4%, 0%, 18.8%)
CIE-LABlab(48.67, 49.95, -53.32)
CIE-LCHlch(48.67, 73.06, 313.13°)
OKLaboklab(57.89% 0.11 -0.1505)
OKLCHoklch(57.89% 0.186 306.2)
XYZxyz(27.0081, 17.3299, 60.9416)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654CF #8DCF54
analogous
#5954CF #9654CF #CF54CB
triadic
#9654CF #CF9654 #54CF96
tetradic
#9654CF #CF5954 #8DCF54 #54CBCF
square
#9654CF #CF5954 #8DCF54 #54CBCF
split-complementary
#9654CF #CBCF54 #54CF59
monochromatic
#582584 #7832B3 #9654CF #B384DC #D1B4EA

Accessibility & contrast

On white

4.70
#9654CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9654CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9654CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654CF#FFFFFF#000000##FFFFFF
##9654CF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#3D74CC
Tritanopia (blue-blind)
#8D6C8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9654cf;
/* rgb */ color: rgb(150, 84, 207);
/* oklch */ color: oklch(57.9% 0.186 306.2);
Tailwind
colors: {
  custom: {
    50: '#b887de',
    500: '#9654cf',
    950: '#000000',
  },
}
SCSS
$custom: #9654cf;
$custom-light: #b887de;
$custom-dark: #000000;
JSON
{
  "hex": "#9654cf",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 272.195,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57889,
    "c": 0.18643,
    "h": 306.2
  },
  "luminance": 0.1733
}

Semantic roles & 50–950 ramp

primary
#9654CF
secondary
#BED8A6
accent
#DF488E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9654CF

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

Preview Lab → · Contrast checker → · Palette generator →

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