#9581EA#9581EA

#9581EA is a light, vivid violet. Relative luminance 0.280; OKLCH L 66.7% C 0.152 H 290.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#9581EA
RGBrgb(149, 129, 234)
HSLhsl(251, 71%, 71%)
HSVhsv(251, 45%, 92%)
CMYKcmyk(36.3%, 44.9%, 0%, 8.2%)
CIE-LABlab(59.92, 31.47, -50.62)
CIE-LCHlch(59.92, 59.61, 301.87°)
OKLaboklab(66.7% 0.0531 -0.1427)
OKLCHoklch(66.7% 0.152 290.4)
XYZxyz(35.0920, 28.0297, 81.3873)
Luminance0.2803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9581EA #D6EA81
analogous
#81A1EA #9581EA #C981EA
triadic
#9581EA #EA9581 #81EA95
tetradic
#9581EA #EA81A1 #D6EA81 #81EAC9
square
#9581EA #EA81A1 #D6EA81 #81EAC9
split-complementary
#9581EA #EAC981 #A1EA81
monochromatic
#4322CE #694DE1 #9581EA #C1B5F3 #E9E5FB

Accessibility & contrast

On white

3.18
#9581EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#9581EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9581EA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9581EA#FFFFFF#000000##000000
##9581EA1.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D92EE
Deuteranopia (green-blind)
#5E8EE8
Tritanopia (blue-blind)
#7F95AA
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9581ea;
/* rgb */ color: rgb(149, 129, 234);
/* oklch */ color: oklch(66.7% 0.152 290.4);
Tailwind
colors: {
  custom: {
    50: '#b7a6f1',
    500: '#9581ea',
    950: '#000000',
  },
}
SCSS
$custom: #9581ea;
$custom-light: #b7a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9581ea",
  "rgb": {
    "r": 149,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 251.429,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66703,
    "c": 0.15226,
    "h": 290.4
  },
  "luminance": 0.28031
}

Semantic roles & 50–950 ramp

primary
#9581EA
secondary
#ECF1D6
accent
#D312AF
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9581EA

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

Preview Lab → · Contrast checker → · Palette generator →

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