#815DC0#815DC0

#815DC0 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.1% C 0.150 H 298.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#815DC0
RGBrgb(129, 93, 192)
HSLhsl(262, 44%, 56%)
HSVhsv(262, 52%, 75%)
CMYKcmyk(32.8%, 51.6%, 0%, 24.7%)
CIE-LABlab(47.37, 36.07, -46.90)
CIE-LCHlch(47.37, 59.17, 307.57°)
OKLaboklab(56.12% 0.071 -0.1324)
OKLCHoklch(56.12% 0.15 298.2)
XYZxyz(22.4797, 16.3014, 51.8211)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DC0 #9CC05D
analogous
#5D6AC0 #815DC0 #B25DC0
triadic
#815DC0 #C0815D #5DC081
tetradic
#815DC0 #C05D6A #9CC05D #5DC0B2
square
#815DC0 #C05D6A #9CC05D #5DC0B2
split-complementary
#815DC0 #C0B25D #6AC05D
monochromatic
#482E75 #623FA1 #815DC0 #A389D1 #C6B5E2

Accessibility & contrast

On white

4.93
#815DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#815DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DC0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DC0#FFFFFF#000000##FFFFFF
##815DC01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3970C3
Deuteranopia (green-blind)
#426FBE
Tritanopia (blue-blind)
#737086
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815dc0;
/* rgb */ color: rgb(129, 93, 192);
/* oklch */ color: oklch(56.1% 0.150 298.2);
Tailwind
colors: {
  custom: {
    50: '#a98cd3',
    500: '#815dc0',
    950: '#000000',
  },
}
SCSS
$custom: #815dc0;
$custom-light: #a98cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#815dc0",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 261.818,
    "s": 44,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.15019,
    "h": 298.2
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#815DC0
secondary
#C2D1A8
accent
#D454A5
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #815DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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