#815DCB#815DCB

#815DCB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.8% C 0.164 H 295.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#815DCB
RGBrgb(129, 93, 203)
HSLhsl(260, 51%, 58%)
HSVhsv(260, 54%, 80%)
CMYKcmyk(36.5%, 54.2%, 0%, 20.4%)
CIE-LABlab(48.02, 38.97, -52.20)
CIE-LCHlch(48.02, 65.14, 306.74°)
OKLaboklab(56.81% 0.0716 -0.1479)
OKLCHoklch(56.81% 0.164 295.8)
XYZxyz(23.7443, 16.8072, 58.4815)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DCB #A7CB5D
analogous
#5D70CB #815DCB #B85DCB
triadic
#815DCB #CB815D #5DCB81
tetradic
#815DCB #CB5D70 #A7CB5D #5DCBB8
square
#815DCB #CB5D70 #A7CB5D #5DCBB8
split-complementary
#815DCB #CBB85D #70CB5D
monochromatic
#472A83 #6139B2 #815DCB #A58BDA #C9BAE9

Accessibility & contrast

On white

4.81
#815DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#815DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DCB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DCB#FFFFFF#000000##FFFFFF
##815DCB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#6F738B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #815dcb;
/* rgb */ color: rgb(129, 93, 203);
/* oklch */ color: oklch(56.8% 0.164 295.8);
Tailwind
colors: {
  custom: {
    50: '#a98cdb',
    500: '#815dcb',
    950: '#000000',
  },
}
SCSS
$custom: #815dcb;
$custom-light: #a98cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#815dcb",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 259.636,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.56809,
    "c": 0.16433,
    "h": 295.8
  },
  "luminance": 0.16808
}

Semantic roles & 50–950 ramp

primary
#815DCB
secondary
#C9D8AC
accent
#DB4DAC
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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