#815EF1#815EF1

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

Color values

HEX#815EF1
RGBrgb(129, 94, 241)
HSLhsl(254, 84%, 66%)
HSVhsv(254, 61%, 95%)
CMYKcmyk(46.5%, 61%, 0%, 5.5%)
CIE-LABlab(50.71, 48.77, -69.38)
CIE-LCHlch(50.71, 84.81, 305.11°)
OKLaboklab(59.58% 0.0699 -0.1984)
OKLCHoklch(59.58% 0.21 289.4)
XYZxyz(28.9286, 19.0223, 85.3495)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF1 #CEF15E
analogous
#5E84F1 #815EF1 #CB5EF1
triadic
#815EF1 #F1815E #5EF181
tetradic
#815EF1 #F15E84 #CEF15E #5EF1CB
square
#815EF1 #F15E84 #CEF15E #5EF1CB
split-complementary
#815EF1 #F1CB5E #84F15E
monochromatic
#3C11C4 #5526EC #815EF1 #AD96F6 #D9CFFB

Accessibility & contrast

On white

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

On black

4.80
#815EF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF1#FFFFFF#000000##000000
##815EF11.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#5D809F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ef1;
/* rgb */ color: rgb(129, 94, 241);
/* oklch */ color: oklch(59.6% 0.210 289.4);
Tailwind
colors: {
  custom: {
    50: '#ad8df7',
    500: '#815ef1',
    950: '#000000',
  },
}
SCSS
$custom: #815ef1;
$custom-light: #ad8df7;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef1",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 241
  },
  "hsl": {
    "h": 254.286,
    "s": 84,
    "l": 65.686
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.21036,
    "h": 289.4
  },
  "luminance": 0.19023
}

Semantic roles & 50–950 ramp

primary
#815EF1
secondary
#E2EEBD
accent
#E005AC
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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