#815CCB#815CCB

#815CCB is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.6% C 0.166 H 296.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#815CCB
RGBrgb(129, 92, 203)
HSLhsl(260, 52%, 58%)
HSVhsv(260, 55%, 80%)
CMYKcmyk(36.5%, 54.7%, 0%, 20.4%)
CIE-LABlab(47.79, 39.54, -52.56)
CIE-LCHlch(47.79, 65.77, 306.96°)
OKLaboklab(56.64% 0.0729 -0.1489)
OKLCHoklch(56.64% 0.166 296.1)
XYZxyz(23.6571, 16.6328, 58.4524)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CCB #A6CB5C
analogous
#5C6ECB #815CCB #B85CCB
triadic
#815CCB #CB815C #5CCB81
tetradic
#815CCB #CB5C6E #A6CB5C #5CCBB8
square
#815CCB #CB5C6E #A6CB5C #5CCBB8
split-complementary
#815CCB #CBB85C #6ECB5C
monochromatic
#472A83 #6139B1 #815CCB #A58ADA #C9B9E9

Accessibility & contrast

On white

4.85
#815CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#815CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CCB
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CCB#FFFFFF#000000##FFFFFF
##815CCB1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B72CF
Deuteranopia (green-blind)
#3670C8
Tritanopia (blue-blind)
#70738B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815ccb;
/* rgb */ color: rgb(129, 92, 203);
/* oklch */ color: oklch(56.6% 0.166 296.1);
Tailwind
colors: {
  custom: {
    50: '#aa8bdb',
    500: '#815ccb',
    950: '#000000',
  },
}
SCSS
$custom: #815ccb;
$custom-light: #aa8bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#815ccb",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 203
  },
  "hsl": {
    "h": 260,
    "s": 51.628,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56644,
    "c": 0.16581,
    "h": 296.1
  },
  "luminance": 0.16633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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