#815EF5#815EF5

#815EF5 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.215 H 288.9°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815EF5
RGBrgb(129, 94, 245)
HSLhsl(254, 88%, 66%)
HSVhsv(254, 62%, 96%)
CMYKcmyk(47.3%, 61.6%, 0%, 3.9%)
CIE-LABlab(50.99, 49.89, -71.16)
CIE-LCHlch(50.99, 86.91, 305.03°)
OKLaboklab(59.87% 0.0696 -0.2036)
OKLCHoklch(59.87% 0.215 288.9)
XYZxyz(29.5327, 19.2639, 88.5307)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF5 #D2F55E
analogous
#5E87F5 #815EF5 #CC5EF5
triadic
#815EF5 #F5815E #5EF581
tetradic
#815EF5 #F55E87 #D2F55E #5EF5CC
square
#815EF5 #F55E87 #D2F55E #5EF5CC
split-complementary
#815EF5 #F5CC5E #87F55E
monochromatic
#390DCC #5424F1 #815EF5 #AE98F9 #DBD1FC

Accessibility & contrast

On white

4.33
#815EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#815EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF5#FFFFFF#000000##000000
##815EF51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#5B82A1
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ef5;
/* rgb */ color: rgb(129, 94, 245);
/* oklch */ color: oklch(59.9% 0.215 288.9);
Tailwind
colors: {
  custom: {
    50: '#ae8df9',
    500: '#815ef5',
    950: '#000000',
  },
}
SCSS
$custom: #815ef5;
$custom-light: #ae8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef5",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 245
  },
  "hsl": {
    "h": 253.907,
    "s": 88.304,
    "l": 66.471
  },
  "oklch": {
    "l": 0.59873,
    "c": 0.21521,
    "h": 288.9
  },
  "luminance": 0.19265
}

Semantic roles & 50–950 ramp

primary
#815EF5
secondary
#E5F0BF
accent
#E501B0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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