#815DCF#815DCF

#815DCF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.169 H 295.0°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#815DCF
RGBrgb(129, 93, 207)
HSLhsl(259, 54%, 59%)
HSVhsv(259, 55%, 81%)
CMYKcmyk(37.7%, 55.1%, 0%, 18.8%)
CIE-LABlab(48.26, 40.04, -54.10)
CIE-LCHlch(48.26, 67.31, 306.50°)
OKLaboklab(57.07% 0.0717 -0.1535)
OKLCHoklch(57.07% 0.169 295)
XYZxyz(24.2272, 17.0003, 61.0243)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DCF #ABCF5D
analogous
#5D72CF #815DCF #BA5DCF
triadic
#815DCF #CF815D #5DCF81
tetradic
#815DCF #CF5D72 #ABCF5D #5DCFBA
square
#815DCF #CF5D72 #ABCF5D #5DCFBA
split-complementary
#815DCF #CFBA5D #72CF5D
monochromatic
#472989 #6037B8 #815DCF #A68CDD #CABBEB

Accessibility & contrast

On white

4.77
#815DCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#815DCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DCF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DCF#FFFFFF#000000##FFFFFF
##815DCF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2874D3
Deuteranopia (green-blind)
#3371CC
Tritanopia (blue-blind)
#6E758D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815dcf;
/* rgb */ color: rgb(129, 93, 207);
/* oklch */ color: oklch(57.1% 0.169 295.0);
Tailwind
colors: {
  custom: {
    50: '#aa8cde',
    500: '#815dcf',
    950: '#000000',
  },
}
SCSS
$custom: #815dcf;
$custom-light: #aa8cde;
$custom-dark: #000000;
JSON
{
  "hex": "#815dcf",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 207
  },
  "hsl": {
    "h": 258.947,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57068,
    "c": 0.16942,
    "h": 295
  },
  "luminance": 0.17001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815DCF

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

Preview Lab → · Contrast checker → · Palette generator →

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