#815DC8#815DC8

#815DC8 is a mid, vivid violet. Relative luminance 0.167; OKLCH L 56.6% C 0.160 H 296.4°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815DC8
RGBrgb(129, 93, 200)
HSLhsl(260, 49%, 57%)
HSVhsv(260, 54%, 78%)
CMYKcmyk(35.5%, 53.5%, 0%, 21.6%)
CIE-LABlab(47.84, 38.18, -50.76)
CIE-LCHlch(47.84, 63.52, 306.94°)
OKLaboklab(56.62% 0.0715 -0.1437)
OKLCHoklch(56.62% 0.16 296.4)
XYZxyz(23.3903, 16.6656, 56.6168)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DC8 #A4C85D
analogous
#5D6EC8 #815DC8 #B75DC8
triadic
#815DC8 #C8815D #5DC881
tetradic
#815DC8 #C85D6E #A4C85D #5DC8B7
square
#815DC8 #C85D6E #A4C85D #5DC8B7
split-complementary
#815DC8 #C8B75D #6EC85D
monochromatic
#482B7F #613BAD #815DC8 #A58BD8 #C8B8E7

Accessibility & contrast

On white

4.85
#815DC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#815DC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DC8
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DC8#FFFFFF#000000##FFFFFF
##815DC81.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3172CC
Deuteranopia (green-blind)
#3B70C6
Tritanopia (blue-blind)
#71738A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815dc8;
/* rgb */ color: rgb(129, 93, 200);
/* oklch */ color: oklch(56.6% 0.160 296.4);
Tailwind
colors: {
  custom: {
    50: '#a98cd9',
    500: '#815dc8',
    950: '#000000',
  },
}
SCSS
$custom: #815dc8;
$custom-light: #a98cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#815dc8",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 200
  },
  "hsl": {
    "h": 260.187,
    "s": 49.309,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56617,
    "c": 0.16048,
    "h": 296.4
  },
  "luminance": 0.16666
}

Semantic roles & 50–950 ramp

primary
#815DC8
secondary
#C7D6AB
accent
#D94FAA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DC8

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

Preview Lab → · Contrast checker → · Palette generator →

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