#815CDD#815CDD

#815CDD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.188 H 292.8°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#815CDD
RGBrgb(129, 92, 221)
HSLhsl(257, 65%, 61%)
HSVhsv(257, 58%, 87%)
CMYKcmyk(41.6%, 58.4%, 0%, 13.3%)
CIE-LABlab(48.93, 44.38, -61.00)
CIE-LCHlch(48.93, 75.43, 306.04°)
OKLaboklab(57.85% 0.0729 -0.1737)
OKLCHoklch(57.85% 0.188 292.8)
XYZxyz(25.9280, 17.5412, 70.4123)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CDD #B8DD5C
analogous
#5C78DD #815CDD #C15CDD
triadic
#815CDD #DD815C #5CDD81
tetradic
#815CDD #DD5C78 #B8DD5C #5CDDC1
square
#815CDD #DD5C78 #B8DD5C #5CDDC1
split-complementary
#815CDD #DDC15C #78DD5C
monochromatic
#45219E #5B2BD0 #815CDD #A88FE8 #CFC1F2

Accessibility & contrast

On white

4.66
#815CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#815CDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815CDD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CDD#FFFFFF#000000##FFFFFF
##815CDD1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#1672DA
Tritanopia (blue-blind)
#687894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815cdd;
/* rgb */ color: rgb(129, 92, 221);
/* oklch */ color: oklch(57.8% 0.188 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab8be8',
    500: '#815cdd',
    950: '#000000',
  },
}
SCSS
$custom: #815cdd;
$custom-light: #ab8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#815cdd",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 257.209,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57849,
    "c": 0.18843,
    "h": 292.8
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#815CDD
secondary
#D5E3B2
accent
#CD1899
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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