#9651EA#9651EA

#9651EA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.220 H 300.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9651EA
RGBrgb(150, 81, 234)
HSLhsl(267, 78%, 62%)
HSVhsv(267, 65%, 92%)
CMYKcmyk(35.9%, 65.4%, 0%, 8.2%)
CIE-LABlab(49.87, 57.90, -66.72)
CIE-LCHlch(49.87, 88.34, 310.95°)
OKLaboklab(59.31% 0.1118 -0.1899)
OKLCHoklch(59.31% 0.22 300.5)
XYZxyz(30.3678, 18.3092, 79.7601)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651EA #A5EA51
analogous
#5159EA #9651EA #E351EA
triadic
#9651EA #EA9651 #51EA96
tetradic
#9651EA #EA5159 #A5EA51 #51EAE3
square
#9651EA #EA5159 #A5EA51 #51EAE3
split-complementary
#9651EA #EAE351 #59EA51
monochromatic
#5915AC #751BE2 #9651EA #B788F1 #D8BEF7

Accessibility & contrast

On white

4.50
#9651EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9651EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9651EA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651EA#FFFFFF#000000##000000
##9651EA1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EF
Deuteranopia (green-blind)
#0076E7
Tritanopia (blue-blind)
#847497
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9651ea;
/* rgb */ color: rgb(150, 81, 234);
/* oklch */ color: oklch(59.3% 0.220 300.5);
Tailwind
colors: {
  custom: {
    50: '#ba86f2',
    500: '#9651ea',
    950: '#000000',
  },
}
SCSS
$custom: #9651ea;
$custom-light: #ba86f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9651ea",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 234
  },
  "hsl": {
    "h": 267.059,
    "s": 78.462,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59312,
    "c": 0.22036,
    "h": 300.5
  },
  "luminance": 0.18309
}

Semantic roles & 50–950 ramp

primary
#9651EA
secondary
#CEE8AF
accent
#DB0B7D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9651EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9651EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva