#815DCE#815DCE

#815DCE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.168 H 295.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815DCE
RGBrgb(129, 93, 206)
HSLhsl(259, 54%, 59%)
HSVhsv(259, 55%, 81%)
CMYKcmyk(37.4%, 54.9%, 0%, 19.2%)
CIE-LABlab(48.20, 39.77, -53.63)
CIE-LCHlch(48.20, 66.77, 306.56°)
OKLaboklab(57% 0.0717 -0.1521)
OKLCHoklch(57% 0.168 295.2)
XYZxyz(24.1053, 16.9516, 60.3825)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DCE #AACE5D
analogous
#5D71CE #815DCE #B95DCE
triadic
#815DCE #CE815D #5DCE81
tetradic
#815DCE #CE5D71 #AACE5D #5DCEB9
square
#815DCE #CE5D71 #AACE5D #5DCEB9
split-complementary
#815DCE #CEB95D #71CE5D
monochromatic
#472988 #6037B7 #815DCE #A68CDC #CABBEA

Accessibility & contrast

On white

4.78
#815DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#815DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DCE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DCE#FFFFFF#000000##FFFFFF
##815DCE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2973D2
Deuteranopia (green-blind)
#3471CB
Tritanopia (blue-blind)
#6E748C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815dce;
/* rgb */ color: rgb(129, 93, 206);
/* oklch */ color: oklch(57.0% 0.168 295.2);
Tailwind
colors: {
  custom: {
    50: '#aa8cde',
    500: '#815dce',
    950: '#000000',
  },
}
SCSS
$custom: #815dce;
$custom-light: #aa8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#815dce",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 259.115,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57003,
    "c": 0.16815,
    "h": 295.2
  },
  "luminance": 0.16952
}

Semantic roles & 50–950 ramp

primary
#815DCE
secondary
#CCDAAD
accent
#DD4BAE
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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