#815AE8#815AE8

#815AE8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.3% C 0.205 H 291.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815AE8
RGBrgb(129, 90, 232)
HSLhsl(256, 76%, 63%)
HSVhsv(256, 61%, 91%)
CMYKcmyk(44.4%, 61.2%, 0%, 9%)
CIE-LABlab(49.26, 48.49, -66.69)
CIE-LCHlch(49.26, 82.46, 306.02°)
OKLaboklab(58.32% 0.0746 -0.1905)
OKLCHoklch(58.32% 0.205 291.4)
XYZxyz(27.2709, 17.8047, 78.3281)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815AE8 #C1E85A
analogous
#5A7AE8 #815AE8 #C85AE8
triadic
#815AE8 #E8815A #5AE881
tetradic
#815AE8 #E85A7A #C1E85A #5AE8C8
square
#815AE8 #E85A7A #C1E85A #5AE8C8
split-complementary
#815AE8 #E8C85A #7AE85A
monochromatic
#4218AF #5824E1 #815AE8 #AA90EF #D3C5F7

Accessibility & contrast

On white

4.60
#815AE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#815AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815AE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815AE8#FFFFFF#000000##FFFFFF
##815AE81.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#637B99
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ae8;
/* rgb */ color: rgb(129, 90, 232);
/* oklch */ color: oklch(58.3% 0.205 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac8af0',
    500: '#815ae8',
    950: '#000000',
  },
}
SCSS
$custom: #815ae8;
$custom-light: #ac8af0;
$custom-dark: #000000;
JSON
{
  "hex": "#815ae8",
  "rgb": {
    "r": 129,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 256.479,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58321,
    "c": 0.2046,
    "h": 291.4
  },
  "luminance": 0.17806
}

Semantic roles & 50–950 ramp

primary
#815AE8
secondary
#DAE8B5
accent
#D80EA0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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