#9654E4#9654E4

#9654E4 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.210 H 301.3°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9654E4
RGBrgb(150, 84, 228)
HSLhsl(268, 73%, 61%)
HSVhsv(268, 63%, 89%)
CMYKcmyk(34.2%, 63.2%, 0%, 10.6%)
CIE-LABlab(50.01, 54.96, -63.11)
CIE-LCHlch(50.01, 83.69, 311.05°)
OKLaboklab(59.29% 0.1091 -0.1793)
OKLCHoklch(59.29% 0.21 301.3)
XYZxyz(29.7483, 18.4260, 75.3731)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654E4 #A2E454
analogous
#545AE4 #9654E4 #DE54E4
triadic
#9654E4 #E49654 #54E496
tetradic
#9654E4 #E4545A #A2E454 #54E4DE
square
#9654E4 #E4545A #A2E454 #54E4DE
split-complementary
#9654E4 #E4DE54 #5AE454
monochromatic
#591AA4 #7622D9 #9654E4 #B689EC #D7BEF5

Accessibility & contrast

On white

4.48
#9654E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9654E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9654E4
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654E4#FFFFFF#000000##000000
##9654E41.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1C76E1
Tritanopia (blue-blind)
#867495
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9654e4;
/* rgb */ color: rgb(150, 84, 228);
/* oklch */ color: oklch(59.3% 0.210 301.3);
Tailwind
colors: {
  custom: {
    50: '#ba88ed',
    500: '#9654e4',
    950: '#000000',
  },
}
SCSS
$custom: #9654e4;
$custom-light: #ba88ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9654e4",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 267.5,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.59285,
    "c": 0.20988,
    "h": 301.3
  },
  "luminance": 0.18426
}

Semantic roles & 50–950 ramp

primary
#9654E4
secondary
#CCE5AF
accent
#D5117B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9654E4

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

Preview Lab → · Contrast checker → · Palette generator →

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