#815AEA#815AEA

#815AEA is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.5% C 0.207 H 291.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#815AEA
RGBrgb(129, 90, 234)
HSLhsl(256, 77%, 64%)
HSVhsv(256, 62%, 92%)
CMYKcmyk(44.9%, 61.5%, 0%, 8.2%)
CIE-LABlab(49.40, 49.04, -67.59)
CIE-LCHlch(49.40, 83.51, 305.96°)
OKLaboklab(58.47% 0.0745 -0.1931)
OKLCHoklch(58.47% 0.207 291.1)
XYZxyz(27.5566, 17.9190, 79.8327)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AEA #C3EA5A
analogous
#5A7BEA #815AEA #C95AEA
triadic
#815AEA #EA815A #5AEA81
tetradic
#815AEA #EA5A7B #C3EA5A #5AEAC9
square
#815AEA #EA5A7B #C3EA5A #5AEAC9
split-complementary
#815AEA #EAC95A #7BEA5A
monochromatic
#4117B3 #5824E3 #815AEA #AA90F1 #D4C7F8

Accessibility & contrast

On white

4.58
#815AEA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#815AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815AEA
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AEA#FFFFFF#000000##000000
##815AEA1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EF
Deuteranopia (green-blind)
#0072E7
Tritanopia (blue-blind)
#617B9A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815aea;
/* rgb */ color: rgb(129, 90, 234);
/* oklch */ color: oklch(58.5% 0.207 291.1);
Tailwind
colors: {
  custom: {
    50: '#ad8af2',
    500: '#815aea',
    950: '#000000',
  },
}
SCSS
$custom: #815aea;
$custom-light: #ad8af2;
$custom-dark: #000000;
JSON
{
  "hex": "#815aea",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 256.25,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.20702,
    "h": 291.1
  },
  "luminance": 0.1792
}

Semantic roles & 50–950 ramp

primary
#815AEA
secondary
#DCE9B6
accent
#DA0CA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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