#815DD2#815DD2

#815DD2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.3% C 0.173 H 294.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#815DD2
RGBrgb(129, 93, 210)
HSLhsl(258, 57%, 59%)
HSVhsv(258, 56%, 82%)
CMYKcmyk(38.6%, 55.7%, 0%, 17.6%)
CIE-LABlab(48.45, 40.84, -55.52)
CIE-LCHlch(48.45, 68.92, 306.34°)
OKLaboklab(57.27% 0.0718 -0.1577)
OKLCHoklch(57.27% 0.173 294.5)
XYZxyz(24.5974, 17.1484, 62.9743)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DD2 #AED25D
analogous
#5D73D2 #815DD2 #BC5DD2
triadic
#815DD2 #D2815D #5DD281
tetradic
#815DD2 #D25D73 #AED25D #5DD2BC
square
#815DD2 #D25D73 #AED25D #5DD2BC
split-complementary
#815DD2 #D2BC5D #73D25D
monochromatic
#47278D #5F35BD #815DD2 #A68DDF #CCBDED

Accessibility & contrast

On white

4.74
#815DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#815DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DD2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DD2#FFFFFF#000000##FFFFFF
##815DD21.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2374D6
Deuteranopia (green-blind)
#2F71CF
Tritanopia (blue-blind)
#6D768E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815dd2;
/* rgb */ color: rgb(129, 93, 210);
/* oklch */ color: oklch(57.3% 0.173 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa8ce0',
    500: '#815dd2',
    950: '#000000',
  },
}
SCSS
$custom: #815dd2;
$custom-light: #aa8ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#815dd2",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 258.462,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.17322,
    "h": 294.5
  },
  "luminance": 0.17149
}

Semantic roles & 50–950 ramp

primary
#815DD2
secondary
#CEDCAF
accent
#E048B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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