#9654E8#9654E8

#9654E8 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.6% C 0.214 H 300.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9654E8
RGBrgb(150, 84, 232)
HSLhsl(267, 76%, 62%)
HSVhsv(267, 64%, 91%)
CMYKcmyk(35.3%, 63.8%, 0%, 9%)
CIE-LABlab(50.28, 55.93, -64.94)
CIE-LCHlch(50.28, 85.70, 310.74°)
OKLaboklab(59.56% 0.1088 -0.1847)
OKLCHoklch(59.56% 0.214 300.5)
XYZxyz(30.3100, 18.6507, 78.3314)
Luminance0.1865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9654E8 #A6E854
analogous
#545CE8 #9654E8 #E054E8
triadic
#9654E8 #E89654 #54E896
tetradic
#9654E8 #E8545C #A6E854 #54E8E0
square
#9654E8 #E8545C #A6E854 #54E8E0
split-complementary
#9654E8 #E8E054 #5CE854
monochromatic
#5917AB #751EE1 #9654E8 #B78AEF #D8C0F7

Accessibility & contrast

On white

4.44
#9654E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9654E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9654E8
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9654E8#FFFFFF#000000##000000
##9654E81.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0E77E5
Tritanopia (blue-blind)
#847597
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9654e8;
/* rgb */ color: rgb(150, 84, 232);
/* oklch */ color: oklch(59.6% 0.214 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba88f0',
    500: '#9654e8',
    950: '#000000',
  },
}
SCSS
$custom: #9654e8;
$custom-light: #ba88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9654e8",
  "rgb": {
    "r": 150,
    "g": 84,
    "b": 232
  },
  "hsl": {
    "h": 266.757,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.21431,
    "h": 300.5
  },
  "luminance": 0.18651
}

Semantic roles & 50–950 ramp

primary
#9654E8
secondary
#CFE7B1
accent
#D80D7E
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9654E8

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

Preview Lab → · Contrast checker → · Palette generator →

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