#815DD4#815DD4

#815DD4 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.176 H 294.1°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#815DD4
RGBrgb(129, 93, 212)
HSLhsl(258, 58%, 60%)
HSVhsv(258, 56%, 83%)
CMYKcmyk(39.2%, 56.1%, 0%, 16.9%)
CIE-LABlab(48.57, 41.38, -56.46)
CIE-LCHlch(48.57, 70.00, 306.24°)
OKLaboklab(57.4% 0.0718 -0.1604)
OKLCHoklch(57.4% 0.176 294.1)
XYZxyz(24.8481, 17.2487, 64.2948)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DD4 #B0D45D
analogous
#5D75D4 #815DD4 #BC5DD4
triadic
#815DD4 #D4815D #5DD481
tetradic
#815DD4 #D45D75 #B0D45D #5DD4BC
square
#815DD4 #D45D75 #B0D45D #5DD4BC
split-complementary
#815DD4 #D4BC5D #75D45D
monochromatic
#462690 #5E33C1 #815DD4 #A78DE1 #CCBEEE

Accessibility & contrast

On white

4.72
#815DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#815DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DD4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DD4#FFFFFF#000000##FFFFFF
##815DD41.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F75D8
Deuteranopia (green-blind)
#2C71D1
Tritanopia (blue-blind)
#6C7690
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815dd4;
/* rgb */ color: rgb(129, 93, 212);
/* oklch */ color: oklch(57.4% 0.176 294.1);
Tailwind
colors: {
  custom: {
    50: '#aa8ce2',
    500: '#815dd4',
    950: '#000000',
  },
}
SCSS
$custom: #815dd4;
$custom-light: #aa8ce2;
$custom-dark: #000000;
JSON
{
  "hex": "#815dd4",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 212
  },
  "hsl": {
    "h": 258.151,
    "s": 58.049,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57397,
    "c": 0.17576,
    "h": 294.1
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#815DD4
secondary
#CFDDAF
accent
#E147B2
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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