#9654DA#9654DA

#9654DA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.6% C 0.199 H 303.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9654DA
RGBrgb(150, 84, 218)
HSLhsl(270, 64%, 59%)
HSVhsv(270, 61%, 85%)
CMYKcmyk(31.2%, 61.5%, 0%, 14.5%)
CIE-LABlab(49.36, 52.55, -58.50)
CIE-LCHlch(49.36, 78.63, 311.94°)
OKLaboklab(58.61% 0.1097 -0.1657)
OKLCHoklch(58.61% 0.199 303.5)
XYZxyz(28.4000, 17.8867, 68.2724)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654DA #98DA54
analogous
#5455DA #9654DA #D954DA
triadic
#9654DA #DA9654 #54DA96
tetradic
#9654DA #DA5455 #98DA54 #54DAD9
square
#9654DA #DA5455 #98DA54 #54DAD9
split-complementary
#9654DA #DAD954 #55DA54
monochromatic
#592094 #772BC6 #9654DA #B586E5 #D4B9F0

Accessibility & contrast

On white

4.59
#9654DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9654DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9654DA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654DA#FFFFFF#000000##FFFFFF
##9654DA1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DE
Deuteranopia (green-blind)
#2F75D7
Tritanopia (blue-blind)
#89708F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9654da;
/* rgb */ color: rgb(150, 84, 218);
/* oklch */ color: oklch(58.6% 0.199 303.5);
Tailwind
colors: {
  custom: {
    50: '#b987e6',
    500: '#9654da',
    950: '#000000',
  },
}
SCSS
$custom: #9654da;
$custom-light: #b987e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9654da",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 218
  },
  "hsl": {
    "h": 269.552,
    "s": 64.423,
    "l": 59.216
  },
  "oklch": {
    "l": 0.58606,
    "c": 0.19874,
    "h": 303.5
  },
  "luminance": 0.17887
}

Semantic roles & 50–950 ramp

primary
#9654DA
secondary
#C5DFAB
accent
#E74095
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9654DA

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

Preview Lab → · Contrast checker → · Palette generator →

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