#9B81EA#9B81EA

#9B81EA is a light, vivid violet. Relative luminance 0.286; OKLCH L 67.2% C 0.152 H 293.3°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#9B81EA
RGBrgb(155, 129, 234)
HSLhsl(255, 71%, 71%)
HSVhsv(255, 45%, 92%)
CMYKcmyk(33.8%, 44.9%, 0%, 8.2%)
CIE-LABlab(60.43, 33.02, -49.76)
CIE-LCHlch(60.43, 59.72, 303.57°)
OKLaboklab(67.22% 0.0602 -0.14)
OKLCHoklch(67.22% 0.152 293.3)
XYZxyz(36.2153, 28.6089, 81.4400)
Luminance0.2861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B81EA #D0EA81
analogous
#819BEA #9B81EA #CF81EA
triadic
#9B81EA #EA9B81 #81EA9B
tetradic
#9B81EA #EA819B #D0EA81 #81EACF
square
#9B81EA #EA819B #D0EA81 #81EACF
split-complementary
#9B81EA #EACF81 #9BEA81
monochromatic
#4D22CE #714DE1 #9B81EA #C5B5F3 #EAE5FB

Accessibility & contrast

On white

3.12
#9B81EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#9B81EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B81EA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B81EA#FFFFFF#000000##000000
##9B81EA1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#6290E7
Tritanopia (blue-blind)
#8895AA
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b81ea;
/* rgb */ color: rgb(155, 129, 234);
/* oklch */ color: oklch(67.2% 0.152 293.3);
Tailwind
colors: {
  custom: {
    50: '#bba6f1',
    500: '#9b81ea',
    950: '#000000',
  },
}
SCSS
$custom: #9b81ea;
$custom-light: #bba6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9b81ea",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 254.857,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.6722,
    "c": 0.15244,
    "h": 293.3
  },
  "luminance": 0.2861
}

Semantic roles & 50–950 ramp

primary
#9B81EA
secondary
#EAF1D6
accent
#D312A4
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B81EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9B81EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva