#815DEB#815DEB

#815DEB is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.0% C 0.204 H 290.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815DEB
RGBrgb(129, 93, 235)
HSLhsl(255, 78%, 64%)
HSVhsv(255, 60%, 92%)
CMYKcmyk(45.1%, 60.4%, 0%, 7.8%)
CIE-LABlab(50.09, 47.66, -67.03)
CIE-LCHlch(50.09, 82.25, 305.42°)
OKLaboklab(58.99% 0.0713 -0.1915)
OKLCHoklch(58.99% 0.204 290.4)
XYZxyz(27.9588, 18.4930, 80.6775)
Luminance0.1849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DEB #C7EB5D
analogous
#5D80EB #815DEB #C85DEB
triadic
#815DEB #EB815D #5DEB81
tetradic
#815DEB #EB5D80 #C7EB5D #5DEBC8
square
#815DEB #EB5D80 #C7EB5D #5DEBC8
split-complementary
#815DEB #EBC85D #80EB5D
monochromatic
#3F17B7 #5727E4 #815DEB #AB93F2 #D6CAF8

Accessibility & contrast

On white

4.47
#815DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#815DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DEB
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DEB#FFFFFF#000000##000000
##815DEB1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815deb;
/* rgb */ color: rgb(129, 93, 235);
/* oklch */ color: oklch(59.0% 0.204 290.4);
Tailwind
colors: {
  custom: {
    50: '#ad8cf2',
    500: '#815deb',
    950: '#000000',
  },
}
SCSS
$custom: #815deb;
$custom-light: #ad8cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#815deb",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 255.211,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.58992,
    "c": 0.20433,
    "h": 290.4
  },
  "luminance": 0.18494
}

Semantic roles & 50–950 ramp

primary
#815DEB
secondary
#DEEBB9
accent
#DA0BA6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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