#9581ED#9581ED

#9581ED is a light, vivid violet. Relative luminance 0.282; OKLCH L 66.9% C 0.156 H 290.0°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9581ED
RGBrgb(149, 129, 237)
HSLhsl(251, 75%, 72%)
HSVhsv(251, 46%, 93%)
CMYKcmyk(37.1%, 45.6%, 0%, 7.1%)
CIE-LABlab(60.07, 32.27, -52.03)
CIE-LCHlch(60.07, 61.23, 301.81°)
OKLaboklab(66.87% 0.0535 -0.1468)
OKLCHoklch(66.87% 0.156 290)
XYZxyz(35.5266, 28.2035, 83.6764)
Luminance0.2820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9581ED #D9ED81
analogous
#81A3ED #9581ED #CB81ED
triadic
#9581ED #ED9581 #81ED95
tetradic
#9581ED #ED81A3 #D9ED81 #81EDCB
square
#9581ED #ED81A3 #D9ED81 #81EDCB
split-complementary
#9581ED #EDCB81 #A3ED81
monochromatic
#401ED5 #684BE5 #9581ED #C2B7F5 #E8E4FB

Accessibility & contrast

On white

3.16
#9581ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9581ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9581ED
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9581ED#FFFFFF#000000##000000
##9581ED1.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A93F1
Deuteranopia (green-blind)
#5C8EEA
Tritanopia (blue-blind)
#7E96AC
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9581ed;
/* rgb */ color: rgb(149, 129, 237);
/* oklch */ color: oklch(66.9% 0.156 290.0);
Tailwind
colors: {
  custom: {
    50: '#b8a6f3',
    500: '#9581ed',
    950: '#000000',
  },
}
SCSS
$custom: #9581ed;
$custom-light: #b8a6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9581ed",
  "rgb": {
    "r": 149,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 251.111,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.66872,
    "c": 0.15629,
    "h": 290
  },
  "luminance": 0.28204
}

Semantic roles & 50–950 ramp

primary
#9581ED
secondary
#EEF3D7
accent
#D70EB2
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9581ED

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

Preview Lab → · Contrast checker → · Palette generator →

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