#815DF4#815DF4

#815DF4 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.6% C 0.215 H 289.2°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815DF4
RGBrgb(129, 93, 244)
HSLhsl(254, 87%, 66%)
HSVhsv(254, 62%, 96%)
CMYKcmyk(47.1%, 61.9%, 0%, 4.3%)
CIE-LABlab(50.72, 50.16, -71.05)
CIE-LCHlch(50.72, 86.97, 305.22°)
OKLaboklab(59.65% 0.0707 -0.2033)
OKLCHoklch(59.65% 0.215 289.2)
XYZxyz(29.2921, 19.0263, 87.6994)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DF4 #D0F45D
analogous
#5D84F4 #815DF4 #CD5DF4
triadic
#815DF4 #F4815D #5DF481
tetradic
#815DF4 #F45D84 #D0F45D #5DF4CD
square
#815DF4 #F45D84 #D0F45D #5DF4CD
split-complementary
#815DF4 #F4CD5D #84F45D
monochromatic
#3A0EC9 #5424F0 #815DF4 #AE96F8 #DAD0FC

Accessibility & contrast

On white

4.37
#815DF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#815DF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DF4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DF4#FFFFFF#000000##000000
##815DF41.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF9
Deuteranopia (green-blind)
#0075F1
Tritanopia (blue-blind)
#5B81A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815df4;
/* rgb */ color: rgb(129, 93, 244);
/* oklch */ color: oklch(59.6% 0.215 289.2);
Tailwind
colors: {
  custom: {
    50: '#ae8df9',
    500: '#815df4',
    950: '#000000',
  },
}
SCSS
$custom: #815df4;
$custom-light: #ae8df9;
$custom-dark: #000000;
JSON
{
  "hex": "#815df4",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 244
  },
  "hsl": {
    "h": 254.305,
    "s": 87.283,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59649,
    "c": 0.21526,
    "h": 289.2
  },
  "luminance": 0.19027
}

Semantic roles & 50–950 ramp

primary
#815DF4
secondary
#E3EFBE
accent
#E402AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DF4

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

Preview Lab → · Contrast checker → · Palette generator →

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