#815EEB#815EEB

#815EEB is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.1% C 0.203 H 290.2°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#815EEB
RGBrgb(129, 94, 235)
HSLhsl(255, 78%, 65%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(45.1%, 60%, 0%, 7.8%)
CIE-LABlab(50.30, 47.11, -66.69)
CIE-LCHlch(50.30, 81.65, 305.24°)
OKLaboklab(59.15% 0.0702 -0.1905)
OKLCHoklch(59.15% 0.203 290.2)
XYZxyz(28.0471, 18.6697, 80.7070)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EEB #C8EB5E
analogous
#5E81EB #815EEB #C85EEB
triadic
#815EEB #EB815E #5EEB81
tetradic
#815EEB #EB5E81 #C8EB5E #5EEBC8
square
#815EEB #EB5E81 #C8EB5E #5EEBC8
split-complementary
#815EEB #EBC85E #81EB5E
monochromatic
#3F17B8 #5628E4 #815EEB #AC94F2 #D6CBF9

Accessibility & contrast

On white

4.44
#815EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#815EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EEB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EEB#FFFFFF#000000##000000
##815EEB1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#617E9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #815eeb;
/* rgb */ color: rgb(129, 94, 235);
/* oklch */ color: oklch(59.1% 0.203 290.2);
Tailwind
colors: {
  custom: {
    50: '#ad8df2',
    500: '#815eeb',
    950: '#000000',
  },
}
SCSS
$custom: #815eeb;
$custom-light: #ad8df2;
$custom-dark: #000000;
JSON
{
  "hex": "#815eeb",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 235
  },
  "hsl": {
    "h": 254.894,
    "s": 77.901,
    "l": 64.51
  },
  "oklch": {
    "l": 0.59146,
    "c": 0.20302,
    "h": 290.2
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#815EEB
secondary
#DFEBBA
accent
#DA0BA7
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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