#815EE2#815EE2

#815EE2 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.5% C 0.192 H 291.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815EE2
RGBrgb(129, 94, 226)
HSLhsl(256, 69%, 63%)
HSVhsv(256, 58%, 89%)
CMYKcmyk(42.9%, 58.4%, 0%, 11.4%)
CIE-LABlab(49.69, 44.63, -62.60)
CIE-LCHlch(49.69, 76.88, 305.48°)
OKLaboklab(58.51% 0.0705 -0.1785)
OKLCHoklch(58.51% 0.192 291.6)
XYZxyz(26.7796, 18.1627, 74.0315)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE2 #BFE25E
analogous
#5E7DE2 #815EE2 #C35EE2
triadic
#815EE2 #E2815E #5EE281
tetradic
#815EE2 #E25E7D #BFE25E #5EE2C3
square
#815EE2 #E25E7D #BFE25E #5EE2C3
split-complementary
#815EE2 #E2C35E #7DE25E
monochromatic
#431EA7 #582AD9 #815EE2 #AA92EB #D2C6F5

Accessibility & contrast

On white

4.53
#815EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#815EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE2
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE2#FFFFFF#000000##000000
##815EE21.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0C73DF
Tritanopia (blue-blind)
#657B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ee2;
/* rgb */ color: rgb(129, 94, 226);
/* oklch */ color: oklch(58.5% 0.192 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac8dec',
    500: '#815ee2',
    950: '#000000',
  },
}
SCSS
$custom: #815ee2;
$custom-light: #ac8dec;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee2",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 255.909,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.5851,
    "c": 0.1919,
    "h": 291.6
  },
  "luminance": 0.18164
}

Semantic roles & 50–950 ramp

primary
#815EE2
secondary
#D9E6B6
accent
#D1149F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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