#815EF3#815EF3

#815EF3 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.7% C 0.213 H 289.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#815EF3
RGBrgb(129, 94, 243)
HSLhsl(254, 86%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.9%, 61.3%, 0%, 4.7%)
CIE-LABlab(50.85, 49.33, -70.27)
CIE-LCHlch(50.85, 85.86, 305.07°)
OKLaboklab(59.73% 0.0697 -0.201)
OKLCHoklch(59.73% 0.213 289.1)
XYZxyz(29.2290, 19.1424, 86.9314)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF3 #D0F35E
analogous
#5E85F3 #815EF3 #CB5EF3
triadic
#815EF3 #F3815E #5EF381
tetradic
#815EF3 #F35E85 #D0F35E #5EF3CB
square
#815EF3 #F35E85 #D0F35E #5EF3CB
split-complementary
#815EF3 #F3CB5E #85F35E
monochromatic
#3A0FC8 #5425EF #815EF3 #AE97F7 #DAD0FB

Accessibility & contrast

On white

4.35
#815EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#815EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF3
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF3#FFFFFF#000000##000000
##815EF31.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0075F0
Tritanopia (blue-blind)
#5C81A0
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ef3;
/* rgb */ color: rgb(129, 94, 243);
/* oklch */ color: oklch(59.7% 0.213 289.1);
Tailwind
colors: {
  custom: {
    50: '#ad8df8',
    500: '#815ef3',
    950: '#000000',
  },
}
SCSS
$custom: #815ef3;
$custom-light: #ad8df8;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef3",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 254.094,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.21279,
    "h": 289.1
  },
  "luminance": 0.19144
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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