#815EE5#815EE5

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

Color values

HEX#815EE5
RGBrgb(129, 94, 229)
HSLhsl(256, 72%, 63%)
HSVhsv(256, 59%, 90%)
CMYKcmyk(43.7%, 59%, 0%, 10.2%)
CIE-LABlab(49.89, 45.45, -63.97)
CIE-LCHlch(49.89, 78.48, 305.39°)
OKLaboklab(58.72% 0.0704 -0.1825)
OKLCHoklch(58.72% 0.196 291.1)
XYZxyz(27.1949, 18.3288, 76.2185)
Luminance0.1833 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE5 #C2E55E
analogous
#5E7EE5 #815EE5 #C55EE5
triadic
#815EE5 #E5815E #5EE581
tetradic
#815EE5 #E55E7E #C2E55E #5EE5C5
square
#815EE5 #E55E7E #C2E55E #5EE5C5
split-complementary
#815EE5 #E5C55E #7EE55E
monochromatic
#411CAD #5829DC #815EE5 #AA93EE #D3C7F6

Accessibility & contrast

On white

4.50
#815EE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#815EE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE5
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE5#FFFFFF#000000##000000
##815EE51.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#647C99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815ee5;
/* rgb */ color: rgb(129, 94, 229);
/* oklch */ color: oklch(58.7% 0.196 291.1);
Tailwind
colors: {
  custom: {
    50: '#ac8dee',
    500: '#815ee5',
    950: '#000000',
  },
}
SCSS
$custom: #815ee5;
$custom-light: #ac8dee;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee5",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 229
  },
  "hsl": {
    "h": 255.556,
    "s": 72.193,
    "l": 63.333
  },
  "oklch": {
    "l": 0.5872,
    "c": 0.19562,
    "h": 291.1
  },
  "luminance": 0.1833
}

Semantic roles & 50–950 ramp

primary
#815EE5
secondary
#DBE7B7
accent
#D411A2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE5

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

Preview Lab → · Contrast checker → · Palette generator →

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