#815DCA#815DCA

#815DCA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.163 H 296.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#815DCA
RGBrgb(129, 93, 202)
HSLhsl(260, 51%, 58%)
HSVhsv(260, 54%, 79%)
CMYKcmyk(36.1%, 54%, 0%, 20.8%)
CIE-LABlab(47.96, 38.71, -51.72)
CIE-LCHlch(47.96, 64.60, 306.81°)
OKLaboklab(56.75% 0.0716 -0.1465)
OKLCHoklch(56.75% 0.163 296)
XYZxyz(23.6256, 16.7597, 57.8559)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DCA #A6CA5D
analogous
#5D6FCA #815DCA #B85DCA
triadic
#815DCA #CA815D #5DCA81
tetradic
#815DCA #CA5D6F #A6CA5D #5DCAB8
square
#815DCA #CA5D6F #A6CA5D #5DCAB8
split-complementary
#815DCA #CAB85D #6FCA5D
monochromatic
#472B82 #613AB0 #815DCA #A58BD9 #C9B9E8

Accessibility & contrast

On white

4.83
#815DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#815DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DCA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DCA#FFFFFF#000000##FFFFFF
##815DCA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E72CE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#70738B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815dca;
/* rgb */ color: rgb(129, 93, 202);
/* oklch */ color: oklch(56.7% 0.163 296.0);
Tailwind
colors: {
  custom: {
    50: '#a98cdb',
    500: '#815dca',
    950: '#000000',
  },
}
SCSS
$custom: #815dca;
$custom-light: #a98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#815dca",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 202
  },
  "hsl": {
    "h": 259.817,
    "s": 50.698,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56745,
    "c": 0.16305,
    "h": 296
  },
  "luminance": 0.1676
}

Semantic roles & 50–950 ramp

primary
#815DCA
secondary
#C9D7AC
accent
#DA4EAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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