#815AE6#815AE6

#815AE6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.2% C 0.202 H 291.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815AE6
RGBrgb(129, 90, 230)
HSLhsl(257, 74%, 63%)
HSVhsv(257, 61%, 90%)
CMYKcmyk(43.9%, 60.9%, 0%, 9.8%)
CIE-LABlab(49.12, 47.95, -65.79)
CIE-LCHlch(49.12, 81.41, 306.09°)
OKLaboklab(58.18% 0.0748 -0.1878)
OKLCHoklch(58.18% 0.202 291.7)
XYZxyz(26.9884, 17.6918, 76.8404)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE6 #BFE65A
analogous
#5A79E6 #815AE6 #C75AE6
triadic
#815AE6 #E6815A #5AE681
tetradic
#815AE6 #E65A79 #BFE65A #5AE6C7
square
#815AE6 #E65A79 #BFE65A #5AE6C7
split-complementary
#815AE6 #E6C75A #79E65A
monochromatic
#431AAC #5825DE #815AE6 #AA8FEE #D2C4F6

Accessibility & contrast

On white

4.63
#815AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#815AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE6#FFFFFF#000000##FFFFFF
##815AE61.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077EA
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#647A98
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ae6;
/* rgb */ color: rgb(129, 90, 230);
/* oklch */ color: oklch(58.2% 0.202 291.7);
Tailwind
colors: {
  custom: {
    50: '#ac8aef',
    500: '#815ae6',
    950: '#000000',
  },
}
SCSS
$custom: #815ae6;
$custom-light: #ac8aef;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae6",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 256.714,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58177,
    "c": 0.20217,
    "h": 291.7
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#815AE6
secondary
#D9E7B5
accent
#D6109F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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