#815BEA#815BEA

#815BEA is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.206 H 290.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815BEA
RGBrgb(129, 91, 234)
HSLhsl(256, 77%, 64%)
HSVhsv(256, 61%, 92%)
CMYKcmyk(44.9%, 61.1%, 0%, 8.2%)
CIE-LABlab(49.60, 48.49, -67.26)
CIE-LCHlch(49.60, 82.91, 305.79°)
OKLaboklab(58.62% 0.0735 -0.1922)
OKLCHoklch(58.62% 0.206 290.9)
XYZxyz(27.6415, 18.0889, 79.8610)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BEA #C4EA5B
analogous
#5B7CEA #815BEA #C85BEA
triadic
#815BEA #EA815B #5BEA81
tetradic
#815BEA #EA5B7C #C4EA5B #5BEAC8
square
#815BEA #EA5B7C #C4EA5B #5BEAC8
split-complementary
#815BEA #EAC85B #7CEA5B
monochromatic
#4117B4 #5725E3 #815BEA #AB91F1 #D4C8F8

Accessibility & contrast

On white

4.55
#815BEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#815BEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BEA
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BEA#FFFFFF#000000##000000
##815BEA1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815bea;
/* rgb */ color: rgb(129, 91, 234);
/* oklch */ color: oklch(58.6% 0.206 290.9);
Tailwind
colors: {
  custom: {
    50: '#ad8bf2',
    500: '#815bea',
    950: '#000000',
  },
}
SCSS
$custom: #815bea;
$custom-light: #ad8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#815bea",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 234
  },
  "hsl": {
    "h": 255.944,
    "s": 77.297,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58617,
    "c": 0.20572,
    "h": 290.9
  },
  "luminance": 0.1809
}

Semantic roles & 50–950 ramp

primary
#815BEA
secondary
#DCEAB7
accent
#DA0CA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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