#815CD3#815CD3

#815CD3 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.2% C 0.176 H 294.5°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#815CD3
RGBrgb(129, 92, 211)
HSLhsl(259, 57%, 59%)
HSVhsv(259, 56%, 83%)
CMYKcmyk(38.9%, 56.4%, 0%, 17.3%)
CIE-LABlab(48.29, 41.68, -56.34)
CIE-LCHlch(48.29, 70.08, 306.49°)
OKLaboklab(57.17% 0.073 -0.1601)
OKLCHoklch(57.17% 0.176 294.5)
XYZxyz(24.6352, 17.0240, 63.6034)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD3 #AED35C
analogous
#5C73D3 #815CD3 #BC5CD3
triadic
#815CD3 #D3815C #5CD381
tetradic
#815CD3 #D35C73 #AED35C #5CD3BC
square
#815CD3 #D35C73 #AED35C #5CD3BC
split-complementary
#815CD3 #D3BC5C #73D35C
monochromatic
#47268E #5F33BE #815CD3 #A68CE0 #CCBCED

Accessibility & contrast

On white

4.77
#815CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#815CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CD3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CD3#FFFFFF#000000##FFFFFF
##815CD31.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D74D7
Deuteranopia (green-blind)
#2B71D0
Tritanopia (blue-blind)
#6C758F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815cd3;
/* rgb */ color: rgb(129, 92, 211);
/* oklch */ color: oklch(57.2% 0.176 294.5);
Tailwind
colors: {
  custom: {
    50: '#aa8be1',
    500: '#815cd3',
    950: '#000000',
  },
}
SCSS
$custom: #815cd3;
$custom-light: #aa8be1;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd3",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 211
  },
  "hsl": {
    "h": 258.655,
    "s": 57.488,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5717,
    "c": 0.17593,
    "h": 294.5
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#815CD3
secondary
#CEDDAE
accent
#E147B1
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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