#9781EA#9781EA

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

Color values

HEX#9781EA
RGBrgb(151, 129, 234)
HSLhsl(253, 71%, 71%)
HSVhsv(253, 45%, 92%)
CMYKcmyk(35.5%, 44.9%, 0%, 8.2%)
CIE-LABlab(60.09, 31.99, -50.34)
CIE-LCHlch(60.09, 59.64, 302.43°)
OKLaboklab(66.87% 0.0555 -0.1418)
OKLCHoklch(66.87% 0.152 291.4)
XYZxyz(35.4601, 28.2195, 81.4046)
Luminance0.2822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9781EA #D4EA81
analogous
#819FEA #9781EA #CB81EA
triadic
#9781EA #EA9781 #81EA97
tetradic
#9781EA #EA819F #D4EA81 #81EACB
square
#9781EA #EA819F #D4EA81 #81EACB
split-complementary
#9781EA #EACB81 #9FEA81
monochromatic
#4622CE #6C4DE1 #9781EA #C2B5F3 #E9E5FB

Accessibility & contrast

On white

3.16
#9781EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#9781EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9781EA
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9781EA#FFFFFF#000000##000000
##9781EA1.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)
#5D93EE
Deuteranopia (green-blind)
#5F8FE7
Tritanopia (blue-blind)
#8295AA
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9781ea;
/* rgb */ color: rgb(151, 129, 234);
/* oklch */ color: oklch(66.9% 0.152 291.4);
Tailwind
colors: {
  custom: {
    50: '#b9a6f1',
    500: '#9781ea',
    950: '#000000',
  },
}
SCSS
$custom: #9781ea;
$custom-light: #b9a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9781ea",
  "rgb": {
    "r": 151,
    "g": 129,
    "b": 234
  },
  "hsl": {
    "h": 252.571,
    "s": 71.429,
    "l": 71.176
  },
  "oklch": {
    "l": 0.66873,
    "c": 0.15229,
    "h": 291.4
  },
  "luminance": 0.2822
}

Semantic roles & 50–950 ramp

primary
#9781EA
secondary
#EBF1D6
accent
#D312AB
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#120F17
muted
#817F85

Preview Lab

Preview with #9781EA

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

Preview Lab → · Contrast checker → · Palette generator →

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