#815CD2#815CD2

#815CD2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.1% C 0.175 H 294.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#815CD2
RGBrgb(129, 92, 210)
HSLhsl(259, 57%, 59%)
HSVhsv(259, 56%, 82%)
CMYKcmyk(38.6%, 56.2%, 0%, 17.6%)
CIE-LABlab(48.23, 41.41, -55.87)
CIE-LCHlch(48.23, 69.55, 306.55°)
OKLaboklab(57.1% 0.073 -0.1587)
OKLCHoklch(57.1% 0.175 294.7)
XYZxyz(24.5102, 16.9740, 62.9452)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD2 #ADD25C
analogous
#5C72D2 #815CD2 #BC5CD2
triadic
#815CD2 #D2815C #5CD281
tetradic
#815CD2 #D25C72 #ADD25C #5CD2BC
square
#815CD2 #D25C72 #ADD25C #5CD2BC
split-complementary
#815CD2 #D2BC5C #72D25C
monochromatic
#47278D #5F34BD #815CD2 #A68CDF #CBBCEC

Accessibility & contrast

On white

4.78
#815CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#815CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CD2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CD2#FFFFFF#000000##FFFFFF
##815CD21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F74D6
Deuteranopia (green-blind)
#2D71CF
Tritanopia (blue-blind)
#6D758E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815cd2;
/* rgb */ color: rgb(129, 92, 210);
/* oklch */ color: oklch(57.1% 0.175 294.7);
Tailwind
colors: {
  custom: {
    50: '#aa8be0',
    500: '#815cd2',
    950: '#000000',
  },
}
SCSS
$custom: #815cd2;
$custom-light: #aa8be0;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd2",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 258.814,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57103,
    "c": 0.17468,
    "h": 294.7
  },
  "luminance": 0.16975
}

Semantic roles & 50–950 ramp

primary
#815CD2
secondary
#CEDCAE
accent
#E048B0
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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