#815DE3#815DE3

#815DE3 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.195 H 291.6°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#815DE3
RGBrgb(129, 93, 227)
HSLhsl(256, 71%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(43.2%, 59%, 0%, 11%)
CIE-LABlab(49.55, 45.46, -63.41)
CIE-LCHlch(49.55, 78.02, 305.64°)
OKLaboklab(58.42% 0.0716 -0.1808)
OKLCHoklch(58.42% 0.195 291.6)
XYZxyz(26.8289, 18.0410, 74.7268)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DE3 #BFE35D
analogous
#5D7CE3 #815DE3 #C45DE3
triadic
#815DE3 #E3815D #5DE381
tetradic
#815DE3 #E35D7C #BFE35D #5DE3C4
square
#815DE3 #E35D7C #BFE35D #5DE3C4
split-complementary
#815DE3 #E3C45D #7CE35D
monochromatic
#431DA8 #5829DA #815DE3 #AA91EC #D2C5F5

Accessibility & contrast

On white

4.56
#815DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#815DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DE3
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DE3#FFFFFF#000000##000000
##815DE31.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#657B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815de3;
/* rgb */ color: rgb(129, 93, 227);
/* oklch */ color: oklch(58.4% 0.195 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac8ced',
    500: '#815de3',
    950: '#000000',
  },
}
SCSS
$custom: #815de3;
$custom-light: #ac8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#815de3",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 256.119,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58423,
    "c": 0.1945,
    "h": 291.6
  },
  "luminance": 0.18042
}

Semantic roles & 50–950 ramp

primary
#815DE3
secondary
#D9E6B6
accent
#D3139F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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