#815DEA#815DEA

#815DEA is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 58.9% C 0.203 H 290.6°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#815DEA
RGBrgb(129, 93, 234)
HSLhsl(255, 77%, 64%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(44.9%, 60.3%, 0%, 8.2%)
CIE-LABlab(50.02, 47.39, -66.58)
CIE-LCHlch(50.02, 81.72, 305.44°)
OKLaboklab(58.92% 0.0713 -0.1902)
OKLCHoklch(58.92% 0.203 290.6)
XYZxyz(27.8147, 18.4354, 79.9188)
Luminance0.1844 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DEA #C6EA5D
analogous
#5D80EA #815DEA #C85DEA
triadic
#815DEA #EA815D #5DEA81
tetradic
#815DEA #EA5D80 #C6EA5D #5DEAC8
square
#815DEA #EA5D80 #C6EA5D #5DEAC8
split-complementary
#815DEA #EAC85D #80EA5D
monochromatic
#4017B5 #5727E3 #815DEA #AB93F1 #D5C9F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##815DEA#FFFFFF#000000##000000
##815DEA1.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)
#0079EF
Deuteranopia (green-blind)
#0074E7
Tritanopia (blue-blind)
#617D9B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815dea;
/* rgb */ color: rgb(129, 93, 234);
/* oklch */ color: oklch(58.9% 0.203 290.6);
Tailwind
colors: {
  custom: {
    50: '#ad8cf2',
    500: '#815dea',
    950: '#000000',
  },
}
SCSS
$custom: #815dea;
$custom-light: #ad8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#815dea",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 234
  },
  "hsl": {
    "h": 255.319,
    "s": 77.049,
    "l": 64.118
  },
  "oklch": {
    "l": 0.5892,
    "c": 0.20311,
    "h": 290.6
  },
  "luminance": 0.18436
}

Semantic roles & 50–950 ramp

primary
#815DEA
secondary
#DDEAB9
accent
#D90CA5
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DEA

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

Preview Lab → · Contrast checker → · Palette generator →

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