#9B81EC#9B81EC

#9B81EC is a light, vivid violet. Relative luminance 0.287; OKLCH L 67.3% C 0.155 H 292.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9B81EC
RGBrgb(155, 129, 236)
HSLhsl(255, 74%, 72%)
HSVhsv(255, 45%, 93%)
CMYKcmyk(34.3%, 45.3%, 0%, 7.5%)
CIE-LABlab(60.54, 33.54, -50.71)
CIE-LCHlch(60.54, 60.80, 303.48°)
OKLaboklab(67.33% 0.0605 -0.1428)
OKLCHoklch(67.33% 0.155 292.9)
XYZxyz(36.5042, 28.7244, 82.9617)
Luminance0.2873 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B81EC #D2EC81
analogous
#819DEC #9B81EC #D081EC
triadic
#9B81EC #EC9B81 #81EC9B
tetradic
#9B81EC #EC819D #D2EC81 #81ECD0
square
#9B81EC #EC819D #D2EC81 #81ECD0
split-complementary
#9B81EC #ECD081 #9DEC81
monochromatic
#4B20D3 #714CE4 #9B81EC #C5B6F4 #EAE4FB

Accessibility & contrast

On white

3.11
#9B81EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9B81EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B81EC
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B81EC#FFFFFF#000000##000000
##9B81EC1.003.116.746.74
#FFFFFF3.111.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D93F0
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#8895AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b81ec;
/* rgb */ color: rgb(155, 129, 236);
/* oklch */ color: oklch(67.3% 0.155 292.9);
Tailwind
colors: {
  custom: {
    50: '#bca6f2',
    500: '#9b81ec',
    950: '#000000',
  },
}
SCSS
$custom: #9b81ec;
$custom-light: #bca6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b81ec",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 236
  },
  "hsl": {
    "h": 254.579,
    "s": 73.793,
    "l": 71.569
  },
  "oklch": {
    "l": 0.67331,
    "c": 0.15509,
    "h": 292.9
  },
  "luminance": 0.28725
}

Semantic roles & 50–950 ramp

primary
#9B81EC
secondary
#EBF2D7
accent
#D610A6
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B81EC

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

Preview Lab → · Contrast checker → · Palette generator →

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