#815EEA#815EEA

#815EEA is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.1% C 0.202 H 290.4°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#815EEA
RGBrgb(129, 94, 234)
HSLhsl(255, 77%, 64%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(44.9%, 59.8%, 0%, 8.2%)
CIE-LABlab(50.23, 46.83, -66.24)
CIE-LCHlch(50.23, 81.13, 305.26°)
OKLaboklab(59.07% 0.0702 -0.1892)
OKLCHoklch(59.07% 0.202 290.4)
XYZxyz(27.9031, 18.6121, 79.9482)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EEA #C7EA5E
analogous
#5E81EA #815EEA #C75EEA
triadic
#815EEA #EA815E #5EEA81
tetradic
#815EEA #EA5E81 #C7EA5E #5EEAC7
square
#815EEA #EA5E81 #C7EA5E #5EEAC7
split-complementary
#815EEA #EAC75E #81EA5E
monochromatic
#3F18B6 #5728E3 #815EEA #AB94F1 #D6CAF8

Accessibility & contrast

On white

4.45
#815EEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#815EEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EEA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EEA#FFFFFF#000000##000000
##815EEA1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#617E9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815eea;
/* rgb */ color: rgb(129, 94, 234);
/* oklch */ color: oklch(59.1% 0.202 290.4);
Tailwind
colors: {
  custom: {
    50: '#ac8df2',
    500: '#815eea',
    950: '#000000',
  },
}
SCSS
$custom: #815eea;
$custom-light: #ac8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#815eea",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 234
  },
  "hsl": {
    "h": 255,
    "s": 76.923,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59074,
    "c": 0.2018,
    "h": 290.4
  },
  "luminance": 0.18613
}

Semantic roles & 50–950 ramp

primary
#815EEA
secondary
#DEEABA
accent
#D90CA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EEA

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

Preview Lab → · Contrast checker → · Palette generator →

#815EEA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva