#9651E1#9651E1

#9651E1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.211 H 302.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9651E1
RGBrgb(150, 81, 225)
HSLhsl(269, 71%, 60%)
HSVhsv(269, 64%, 88%)
CMYKcmyk(33.3%, 64%, 0%, 11.8%)
CIE-LABlab(49.26, 55.73, -62.63)
CIE-LCHlch(49.26, 83.84, 311.67°)
OKLaboklab(58.68% 0.1127 -0.1779)
OKLCHoklch(58.68% 0.211 302.3)
XYZxyz(29.1075, 17.8051, 73.1228)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9651E1 #9CE151
analogous
#5154E1 #9651E1 #DE51E1
triadic
#9651E1 #E19651 #51E196
tetradic
#9651E1 #E15154 #9CE151 #51E1DE
square
#9651E1 #E15154 #9CE151 #51E1DE
split-complementary
#9651E1 #E1DE51 #54E151
monochromatic
#591B9D #7724D1 #9651E1 #B685EA #D5B9F3

Accessibility & contrast

On white

4.60
#9651E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9651E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9651E1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9651E1#FFFFFF#000000##FFFFFF
##9651E11.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#1B75DE
Tritanopia (blue-blind)
#877192
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9651e1;
/* rgb */ color: rgb(150, 81, 225);
/* oklch */ color: oklch(58.7% 0.211 302.3);
Tailwind
colors: {
  custom: {
    50: '#ba86eb',
    500: '#9651e1',
    950: '#000000',
  },
}
SCSS
$custom: #9651e1;
$custom-light: #ba86eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9651e1",
  "rgb": {
    "r": 150,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 268.75,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.5868,
    "c": 0.21054,
    "h": 302.3
  },
  "luminance": 0.17805
}

Semantic roles & 50–950 ramp

primary
#9651E1
secondary
#C8E3AB
accent
#ED3A98
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9651E1

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

Preview Lab → · Contrast checker → · Palette generator →

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