#815FF4#815FF4

#815FF4 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.0% C 0.213 H 288.8°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#815FF4
RGBrgb(129, 95, 244)
HSLhsl(254, 87%, 66%)
HSVhsv(254, 61%, 96%)
CMYKcmyk(47.1%, 61.1%, 0%, 4.3%)
CIE-LABlab(51.13, 49.06, -70.38)
CIE-LCHlch(51.13, 85.79, 304.88°)
OKLaboklab(59.95% 0.0686 -0.2013)
OKLCHoklch(59.95% 0.213 288.8)
XYZxyz(29.4699, 19.3820, 87.7587)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FF4 #D2F45F
analogous
#5F88F4 #815FF4 #CC5FF4
triadic
#815FF4 #F4815F #5FF481
tetradic
#815FF4 #F45F88 #D2F45F #5FF4CC
square
#815FF4 #F45F88 #D2F45F #5FF4CC
split-complementary
#815FF4 #F4CC5F #88F45F
monochromatic
#390ECB #5426F0 #815FF4 #AE98F8 #DBD2FC

Accessibility & contrast

On white

4.31
#815FF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#815FF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815FF4
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FF4#FFFFFF#000000##000000
##815FF41.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF9
Deuteranopia (green-blind)
#0076F1
Tritanopia (blue-blind)
#5B82A1
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #815ff4;
/* rgb */ color: rgb(129, 95, 244);
/* oklch */ color: oklch(60.0% 0.213 288.8);
Tailwind
colors: {
  custom: {
    50: '#ad8ef9',
    500: '#815ff4',
    950: '#000000',
  },
}
SCSS
$custom: #815ff4;
$custom-light: #ad8ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#815ff4",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 253.691,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.5995,
    "c": 0.21272,
    "h": 288.8
  },
  "luminance": 0.19383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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