#815CEA#815CEA

#815CEA is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.204 H 290.7°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#815CEA
RGBrgb(129, 92, 234)
HSLhsl(256, 77%, 64%)
HSVhsv(256, 61%, 92%)
CMYKcmyk(44.9%, 60.7%, 0%, 8.2%)
CIE-LABlab(49.81, 47.94, -66.92)
CIE-LCHlch(49.81, 82.32, 305.62°)
OKLaboklab(58.77% 0.0724 -0.1912)
OKLCHoklch(58.77% 0.204 290.7)
XYZxyz(27.7275, 18.2610, 79.8897)
Luminance0.1826 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CEA #C5EA5C
analogous
#5C7EEA #815CEA #C85CEA
triadic
#815CEA #EA815C #5CEA81
tetradic
#815CEA #EA5C7E #C5EA5C #5CEAC8
square
#815CEA #EA5C7E #C5EA5C #5CEAC8
split-complementary
#815CEA #EAC85C #7EEA5C
monochromatic
#4017B4 #5726E3 #815CEA #AB92F1 #D5C8F8

Accessibility & contrast

On white

4.51
#815CEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#815CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CEA
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CEA#FFFFFF#000000##000000
##815CEA1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EF
Deuteranopia (green-blind)
#0073E7
Tritanopia (blue-blind)
#617D9A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815cea;
/* rgb */ color: rgb(129, 92, 234);
/* oklch */ color: oklch(58.8% 0.204 290.7);
Tailwind
colors: {
  custom: {
    50: '#ad8cf2',
    500: '#815cea',
    950: '#000000',
  },
}
SCSS
$custom: #815cea;
$custom-light: #ad8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#815cea",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 255.634,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58768,
    "c": 0.20442,
    "h": 290.7
  },
  "luminance": 0.18262
}

Semantic roles & 50–950 ramp

primary
#815CEA
secondary
#DDEAB8
accent
#D90CA4
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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