#815DC3#815DC3

#815DC3 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.3% C 0.154 H 297.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#815DC3
RGBrgb(129, 93, 195)
HSLhsl(261, 46%, 56%)
HSVhsv(261, 52%, 76%)
CMYKcmyk(33.8%, 52.3%, 0%, 23.5%)
CIE-LABlab(47.54, 36.86, -48.35)
CIE-LCHlch(47.54, 60.80, 307.32°)
OKLaboklab(56.3% 0.0712 -0.1366)
OKLCHoklch(56.3% 0.154 297.5)
XYZxyz(22.8155, 16.4357, 53.5895)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DC3 #9FC35D
analogous
#5D6CC3 #815DC3 #B45DC3
triadic
#815DC3 #C3815D #5DC381
tetradic
#815DC3 #C35D6C #9FC35D #5DC3B4
square
#815DC3 #C35D6C #9FC35D #5DC3B4
split-complementary
#815DC3 #C3B45D #6CC35D
monochromatic
#482D79 #623DA6 #815DC3 #A48AD4 #C6B6E4

Accessibility & contrast

On white

4.90
#815DC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#815DC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DC3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DC3#FFFFFF#000000##FFFFFF
##815DC31.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3671C7
Deuteranopia (green-blind)
#3F70C1
Tritanopia (blue-blind)
#727187
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815dc3;
/* rgb */ color: rgb(129, 93, 195);
/* oklch */ color: oklch(56.3% 0.154 297.5);
Tailwind
colors: {
  custom: {
    50: '#a98cd6',
    500: '#815dc3',
    950: '#000000',
  },
}
SCSS
$custom: #815dc3;
$custom-light: #a98cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#815dc3",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 195
  },
  "hsl": {
    "h": 261.176,
    "s": 45.946,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56303,
    "c": 0.15406,
    "h": 297.5
  },
  "luminance": 0.16436
}

Semantic roles & 50–950 ramp

primary
#815DC3
secondary
#C4D3A9
accent
#D652A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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