#815CE5#815CE5

#815CE5 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.198 H 291.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815CE5
RGBrgb(129, 92, 229)
HSLhsl(256, 72%, 63%)
HSVhsv(256, 60%, 90%)
CMYKcmyk(43.7%, 59.8%, 0%, 10.2%)
CIE-LABlab(49.47, 46.57, -64.66)
CIE-LCHlch(49.47, 79.68, 305.76°)
OKLaboklab(58.41% 0.0727 -0.1845)
OKLCHoklch(58.41% 0.198 291.5)
XYZxyz(27.0193, 17.9777, 76.1600)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE5 #C0E55C
analogous
#5C7CE5 #815CE5 #C55CE5
triadic
#815CE5 #E5815C #5CE581
tetradic
#815CE5 #E55C7C #C0E55C #5CE5C5
square
#815CE5 #E55C7C #C0E55C #5CE5C5
split-complementary
#815CE5 #E5C55C #7CE55C
monochromatic
#421BAB #5827DD #815CE5 #AA91ED #D3C6F6

Accessibility & contrast

On white

4.57
#815CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#815CE5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CE5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE5#FFFFFF#000000##000000
##815CE51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#647B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ce5;
/* rgb */ color: rgb(129, 92, 229);
/* oklch */ color: oklch(58.4% 0.198 291.5);
Tailwind
colors: {
  custom: {
    50: '#ac8cee',
    500: '#815ce5',
    950: '#000000',
  },
}
SCSS
$custom: #815ce5;
$custom-light: #ac8cee;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce5",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 229
  },
  "hsl": {
    "h": 256.204,
    "s": 72.487,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5841,
    "c": 0.19831,
    "h": 291.5
  },
  "luminance": 0.17979
}

Semantic roles & 50–950 ramp

primary
#815CE5
secondary
#DAE7B6
accent
#D511A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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