#9B81EB#9B81EB

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

Color values

HEX#9B81EB
RGBrgb(155, 129, 235)
HSLhsl(255, 73%, 71%)
HSVhsv(255, 45%, 92%)
CMYKcmyk(34%, 45.1%, 0%, 7.8%)
CIE-LABlab(60.49, 33.28, -50.24)
CIE-LCHlch(60.49, 60.26, 303.52°)
OKLaboklab(67.27% 0.0603 -0.1414)
OKLCHoklch(67.27% 0.154 293.1)
XYZxyz(36.3594, 28.6665, 82.1987)
Luminance0.2867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B81EB #D1EB81
analogous
#819CEB #9B81EB #D081EB
triadic
#9B81EB #EB9B81 #81EB9B
tetradic
#9B81EB #EB819C #D1EB81 #81EBD0
square
#9B81EB #EB819C #D1EB81 #81EBD0
split-complementary
#9B81EB #EBD081 #9CEB81
monochromatic
#4C21D1 #714CE3 #9B81EB #C5B6F3 #EAE5FB

Accessibility & contrast

On white

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

On black

6.73
#9B81EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B81EB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B81EB#FFFFFF#000000##000000
##9B81EB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EF
Deuteranopia (green-blind)
#6190E8
Tritanopia (blue-blind)
#8895AB
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9b81eb;
/* rgb */ color: rgb(155, 129, 235);
/* oklch */ color: oklch(67.3% 0.154 293.1);
Tailwind
colors: {
  custom: {
    50: '#bba6f2',
    500: '#9b81eb',
    950: '#000000',
  },
}
SCSS
$custom: #9b81eb;
$custom-light: #bba6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b81eb",
  "rgb": {
    "r": 155,
    "g": 129,
    "b": 235
  },
  "hsl": {
    "h": 254.717,
    "s": 72.603,
    "l": 71.373
  },
  "oklch": {
    "l": 0.67275,
    "c": 0.15377,
    "h": 293.1
  },
  "luminance": 0.28667
}

Semantic roles & 50–950 ramp

primary
#9B81EB
secondary
#EBF2D6
accent
#D511A5
background
#FBFAFE
surface
#F7F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9B81EB

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

Preview Lab → · Contrast checker → · Palette generator →

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