#815DD5#815DD5

#815DD5 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.177 H 293.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#815DD5
RGBrgb(129, 93, 213)
HSLhsl(258, 59%, 60%)
HSVhsv(258, 56%, 84%)
CMYKcmyk(39.4%, 56.3%, 0%, 16.5%)
CIE-LABlab(48.63, 41.65, -56.93)
CIE-LCHlch(48.63, 70.54, 306.19°)
OKLaboklab(57.46% 0.0718 -0.1618)
OKLCHoklch(57.46% 0.177 293.9)
XYZxyz(24.9747, 17.2993, 64.9612)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DD5 #B1D55D
analogous
#5D75D5 #815DD5 #BD5DD5
triadic
#815DD5 #D5815D #5DD581
tetradic
#815DD5 #D55D75 #B1D55D #5DD5BD
square
#815DD5 #D55D75 #B1D55D #5DD5BD
split-complementary
#815DD5 #D5BD5D #75D55D
monochromatic
#462692 #5E32C2 #815DD5 #A78EE2 #CDBEEE

Accessibility & contrast

On white

4.71
#815DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#815DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DD5
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DD5#FFFFFF#000000##FFFFFF
##815DD51.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D75D9
Deuteranopia (green-blind)
#2A71D2
Tritanopia (blue-blind)
#6B7790
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815dd5;
/* rgb */ color: rgb(129, 93, 213);
/* oklch */ color: oklch(57.5% 0.177 293.9);
Tailwind
colors: {
  custom: {
    50: '#aa8ce3',
    500: '#815dd5',
    950: '#000000',
  },
}
SCSS
$custom: #815dd5;
$custom-light: #aa8ce3;
$custom-dark: #000000;
JSON
{
  "hex": "#815dd5",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 213
  },
  "hsl": {
    "h": 258,
    "s": 58.824,
    "l": 60
  },
  "oklch": {
    "l": 0.57464,
    "c": 0.17701,
    "h": 293.9
  },
  "luminance": 0.173
}

Semantic roles & 50–950 ramp

primary
#815DD5
secondary
#D0DEB0
accent
#E246B3
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C15
muted
#7F7D84

Preview Lab

Preview with #815DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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