#815EE4#815EE4

#815EE4 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.194 H 291.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815EE4
RGBrgb(129, 94, 228)
HSLhsl(256, 71%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(43.4%, 58.8%, 0%, 10.6%)
CIE-LABlab(49.83, 45.18, -63.52)
CIE-LCHlch(49.83, 77.95, 305.42°)
OKLaboklab(58.65% 0.0705 -0.1812)
OKLCHoklch(58.65% 0.194 291.3)
XYZxyz(27.0557, 18.2731, 75.4853)
Luminance0.1827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE4 #C1E45E
analogous
#5E7EE4 #815EE4 #C45EE4
triadic
#815EE4 #E4815E #5EE481
tetradic
#815EE4 #E45E7E #C1E45E #5EE4C4
square
#815EE4 #E45E7E #C1E45E #5EE4C4
split-complementary
#815EE4 #E4C45E #7EE45E
monochromatic
#421DAB #582ADB #815EE4 #AA92ED #D3C7F6

Accessibility & contrast

On white

4.51
#815EE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#815EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE4#FFFFFF#000000##000000
##815EE41.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E8
Deuteranopia (green-blind)
#0074E1
Tritanopia (blue-blind)
#647C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ee4;
/* rgb */ color: rgb(129, 94, 228);
/* oklch */ color: oklch(58.7% 0.194 291.3);
Tailwind
colors: {
  custom: {
    50: '#ac8ded',
    500: '#815ee4',
    950: '#000000',
  },
}
SCSS
$custom: #815ee4;
$custom-light: #ac8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee4",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 255.672,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.19439,
    "h": 291.3
  },
  "luminance": 0.18274
}

Semantic roles & 50–950 ramp

primary
#815EE4
secondary
#DAE7B7
accent
#D312A1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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