#815EE7#815EE7

#815EE7 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.9% C 0.198 H 290.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#815EE7
RGBrgb(129, 94, 231)
HSLhsl(255, 74%, 64%)
HSVhsv(255, 59%, 91%)
CMYKcmyk(44.2%, 59.3%, 0%, 9.4%)
CIE-LABlab(50.03, 46.00, -64.88)
CIE-LCHlch(50.03, 79.54, 305.34°)
OKLaboklab(58.86% 0.0704 -0.1852)
OKLCHoklch(58.86% 0.198 290.8)
XYZxyz(27.4757, 18.4411, 77.6976)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE7 #C4E75E
analogous
#5E7FE7 #815EE7 #C55EE7
triadic
#815EE7 #E7815E #5EE781
tetradic
#815EE7 #E75E7F #C4E75E #5EE7C5
square
#815EE7 #E75E7F #C4E75E #5EE7C5
split-complementary
#815EE7 #E7C55E #7FE75E
monochromatic
#411AB0 #5729DF #815EE7 #AB93EF #D4C9F7

Accessibility & contrast

On white

4.48
#815EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#815EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE7#FFFFFF#000000##000000
##815EE71.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EB
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#637D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815ee7;
/* rgb */ color: rgb(129, 94, 231);
/* oklch */ color: oklch(58.9% 0.198 290.8);
Tailwind
colors: {
  custom: {
    50: '#ac8def',
    500: '#815ee7',
    950: '#000000',
  },
}
SCSS
$custom: #815ee7;
$custom-light: #ac8def;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee7",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 231
  },
  "hsl": {
    "h": 255.328,
    "s": 74.054,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58861,
    "c": 0.1981,
    "h": 290.8
  },
  "luminance": 0.18442
}

Semantic roles & 50–950 ramp

primary
#815EE7
secondary
#DCE9B8
accent
#D60FA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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