#815EF0#815EF0

#815EF0 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.5% C 0.209 H 289.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#815EF0
RGBrgb(129, 94, 240)
HSLhsl(254, 83%, 65%)
HSVhsv(254, 61%, 94%)
CMYKcmyk(46.3%, 60.8%, 0%, 5.9%)
CIE-LABlab(50.64, 48.50, -68.94)
CIE-LCHlch(50.64, 84.29, 305.13°)
OKLaboklab(59.51% 0.0699 -0.1971)
OKLCHoklch(59.51% 0.209 289.5)
XYZxyz(28.7797, 18.9627, 84.5649)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EF0 #CDF05E
analogous
#5E84F0 #815EF0 #CA5EF0
triadic
#815EF0 #F0815E #5EF081
tetradic
#815EF0 #F05E84 #CDF05E #5EF0CA
square
#815EF0 #F05E84 #CDF05E #5EF0CA
split-complementary
#815EF0 #F0CA5E #84F05E
monochromatic
#3C12C2 #5526EB #815EF0 #AD96F5 #D9CEFA

Accessibility & contrast

On white

4.38
#815EF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#815EF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EF0
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EF0#FFFFFF#000000##000000
##815EF01.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF5
Deuteranopia (green-blind)
#0075ED
Tritanopia (blue-blind)
#5E809E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #815ef0;
/* rgb */ color: rgb(129, 94, 240);
/* oklch */ color: oklch(59.5% 0.209 289.5);
Tailwind
colors: {
  custom: {
    50: '#ad8df6',
    500: '#815ef0',
    950: '#000000',
  },
}
SCSS
$custom: #815ef0;
$custom-light: #ad8df6;
$custom-dark: #000000;
JSON
{
  "hex": "#815ef0",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 240
  },
  "hsl": {
    "h": 254.384,
    "s": 82.955,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59507,
    "c": 0.20914,
    "h": 289.5
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#815EF0
secondary
#E2EDBC
accent
#DF06AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EF0

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

Preview Lab → · Contrast checker → · Palette generator →

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