#9654DC#9654DC

#9654DC is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.201 H 303.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9654DC
RGBrgb(150, 84, 220)
HSLhsl(269, 66%, 60%)
HSVhsv(269, 62%, 86%)
CMYKcmyk(31.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.49, 53.03, -59.43)
CIE-LCHlch(49.49, 79.65, 311.75°)
OKLaboklab(58.74% 0.1096 -0.1685)
OKLCHoklch(58.74% 0.201 303)
XYZxyz(28.6633, 17.9920, 69.6590)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654DC #9ADC54
analogous
#5456DC #9654DC #DA54DC
triadic
#9654DC #DC9654 #54DC96
tetradic
#9654DC #DC5456 #9ADC54 #54DCDA
square
#9654DC #DC5456 #9ADC54 #54DCDA
split-complementary
#9654DC #DCDA54 #56DC54
monochromatic
#591F97 #7729CA #9654DC #B587E6 #D4BAF1

Accessibility & contrast

On white

4.57
#9654DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9654DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9654DC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654DC#FFFFFF#000000##000000
##9654DC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2C75D9
Tritanopia (blue-blind)
#887190
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9654dc;
/* rgb */ color: rgb(150, 84, 220);
/* oklch */ color: oklch(58.7% 0.201 303.0);
Tailwind
colors: {
  custom: {
    50: '#b987e8',
    500: '#9654dc',
    950: '#000000',
  },
}
SCSS
$custom: #9654dc;
$custom-light: #b987e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9654dc",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 269.118,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5874,
    "c": 0.20097,
    "h": 303
  },
  "luminance": 0.17992
}

Semantic roles & 50–950 ramp

primary
#9654DC
secondary
#C7E0AC
accent
#E93F96
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9654DC

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

Preview Lab → · Contrast checker → · Palette generator →

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