#815EE8#815EE8

#815EE8 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.199 H 290.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815EE8
RGBrgb(129, 94, 232)
HSLhsl(255, 75%, 64%)
HSVhsv(255, 59%, 91%)
CMYKcmyk(44.4%, 59.5%, 0%, 9%)
CIE-LABlab(50.09, 46.28, -65.34)
CIE-LCHlch(50.09, 80.07, 305.31°)
OKLaboklab(58.93% 0.0703 -0.1865)
OKLCHoklch(58.93% 0.199 290.7)
XYZxyz(27.6174, 18.4978, 78.4436)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE8 #C5E85E
analogous
#5E80E8 #815EE8 #C65EE8
triadic
#815EE8 #E8815E #5EE881
tetradic
#815EE8 #E85E80 #C5E85E #5EE8C6
square
#815EE8 #E85E80 #C5E85E #5EE8C6
split-complementary
#815EE8 #E8C65E #80E85E
monochromatic
#4019B2 #5728E0 #815EE8 #AB94F0 #D5C9F7

Accessibility & contrast

On white

4.47
#815EE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#815EE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE8#FFFFFF#000000##000000
##815EE81.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#627D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815ee8;
/* rgb */ color: rgb(129, 94, 232);
/* oklch */ color: oklch(58.9% 0.199 290.7);
Tailwind
colors: {
  custom: {
    50: '#ac8df0',
    500: '#815ee8',
    950: '#000000',
  },
}
SCSS
$custom: #815ee8;
$custom-light: #ac8df0;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee8",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 232
  },
  "hsl": {
    "h": 255.217,
    "s": 75,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58932,
    "c": 0.19933,
    "h": 290.7
  },
  "luminance": 0.18499
}

Semantic roles & 50–950 ramp

primary
#815EE8
secondary
#DDE9B9
accent
#D70EA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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