#815CC8#815CC8

#815CC8 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.162 H 296.7°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#815CC8
RGBrgb(129, 92, 200)
HSLhsl(261, 50%, 57%)
HSVhsv(261, 54%, 78%)
CMYKcmyk(35.5%, 54%, 0%, 21.6%)
CIE-LABlab(47.61, 38.75, -51.12)
CIE-LCHlch(47.61, 64.15, 307.16°)
OKLaboklab(56.45% 0.0727 -0.1447)
OKLCHoklch(56.45% 0.162 296.7)
XYZxyz(23.3031, 16.4912, 56.5878)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CC8 #A3C85C
analogous
#5C6DC8 #815CC8 #B75CC8
triadic
#815CC8 #C8815C #5CC881
tetradic
#815CC8 #C85C6D #A3C85C #5CC8B7
square
#815CC8 #C85C6D #A3C85C #5CC8B7
split-complementary
#815CC8 #C8B75C #6DC85C
monochromatic
#482B7F #613AAD #815CC8 #A48AD7 #C8B8E7

Accessibility & contrast

On white

4.89
#815CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#815CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CC8
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CC8#FFFFFF#000000##FFFFFF
##815CC81.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E71CC
Deuteranopia (green-blind)
#3970C6
Tritanopia (blue-blind)
#717289
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #815cc8;
/* rgb */ color: rgb(129, 92, 200);
/* oklch */ color: oklch(56.5% 0.162 296.7);
Tailwind
colors: {
  custom: {
    50: '#a98bd9',
    500: '#815cc8',
    950: '#000000',
  },
}
SCSS
$custom: #815cc8;
$custom-light: #a98bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#815cc8",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 200
  },
  "hsl": {
    "h": 260.556,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56452,
    "c": 0.16199,
    "h": 296.7
  },
  "luminance": 0.16492
}

Semantic roles & 50–950 ramp

primary
#815CC8
secondary
#C7D6AA
accent
#D94FAA
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #815CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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