#815BDC#815BDC

#815BDC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.189 H 293.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815BDC
RGBrgb(129, 91, 220)
HSLhsl(258, 65%, 61%)
HSVhsv(258, 59%, 86%)
CMYKcmyk(41.4%, 58.6%, 0%, 13.7%)
CIE-LABlab(48.66, 44.67, -60.88)
CIE-LCHlch(48.66, 75.51, 306.27°)
OKLaboklab(57.62% 0.0741 -0.1734)
OKLCHoklch(57.62% 0.189 293.1)
XYZxyz(25.7091, 17.3159, 69.6840)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BDC #B6DC5B
analogous
#5B75DC #815BDC #C15BDC
triadic
#815BDC #DC815B #5BDC81
tetradic
#815BDC #DC5B75 #B6DC5B #5BDCC1
square
#815BDC #DC5B75 #B6DC5B #5BDCC1
split-complementary
#815BDC #DCC15B #75DC5B
monochromatic
#45219B #5C2CCE #815BDC #A88DE7 #CEC0F2

Accessibility & contrast

On white

4.70
#815BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#815BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BDC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BDC#FFFFFF#000000##FFFFFF
##815BDC1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#1571D9
Tritanopia (blue-blind)
#687793
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815bdc;
/* rgb */ color: rgb(129, 91, 220);
/* oklch */ color: oklch(57.6% 0.189 293.1);
Tailwind
colors: {
  custom: {
    50: '#ab8be8',
    500: '#815bdc',
    950: '#000000',
  },
}
SCSS
$custom: #815bdc;
$custom-light: #ab8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#815bdc",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 257.674,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.18857,
    "h": 293.1
  },
  "luminance": 0.17317
}

Semantic roles & 50–950 ramp

primary
#815BDC
secondary
#D3E2B1
accent
#CD1998
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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