#815DDC#815DDC

#815DDC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 57.9% C 0.186 H 292.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815DDC
RGBrgb(129, 93, 220)
HSLhsl(257, 64%, 61%)
HSVhsv(257, 58%, 86%)
CMYKcmyk(41.4%, 57.7%, 0%, 13.7%)
CIE-LABlab(49.08, 43.55, -60.19)
CIE-LCHlch(49.08, 74.29, 305.89°)
OKLaboklab(57.94% 0.0718 -0.1714)
OKLCHoklch(57.94% 0.186 292.7)
XYZxyz(25.8824, 17.6624, 69.7418)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DDC #B8DC5D
analogous
#5D79DC #815DDC #C15DDC
triadic
#815DDC #DC815D #5DDC81
tetradic
#815DDC #DC5D79 #B8DC5D #5DDCC1
square
#815DDC #DC5D79 #B8DC5D #5DDCC1
split-complementary
#815DDC #DCC15D #79DC5D
monochromatic
#45229D #5B2DCF #815DDC #A88FE7 #CFC2F2

Accessibility & contrast

On white

4.63
#815DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#815DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815DDC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DDC#FFFFFF#000000##FFFFFF
##815DDC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0776E0
Deuteranopia (green-blind)
#1C72D9
Tritanopia (blue-blind)
#687994
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ddc;
/* rgb */ color: rgb(129, 93, 220);
/* oklch */ color: oklch(57.9% 0.186 292.7);
Tailwind
colors: {
  custom: {
    50: '#ab8ce8',
    500: '#815ddc',
    950: '#000000',
  },
}
SCSS
$custom: #815ddc;
$custom-light: #ab8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#815ddc",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 257.008,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.57938,
    "c": 0.1858,
    "h": 292.7
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#815DDC
secondary
#D5E2B3
accent
#CC199A
background
#FAF8FE
surface
#F5F0FD
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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