#815CE6#815CE6

#815CE6 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.5% C 0.200 H 291.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#815CE6
RGBrgb(129, 92, 230)
HSLhsl(256, 73%, 63%)
HSVhsv(256, 60%, 90%)
CMYKcmyk(43.9%, 60%, 0%, 9.8%)
CIE-LABlab(49.54, 46.84, -65.11)
CIE-LCHlch(49.54, 80.21, 305.73°)
OKLaboklab(58.48% 0.0726 -0.1859)
OKLCHoklch(58.48% 0.2 291.3)
XYZxyz(27.1594, 18.0337, 76.8974)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE6 #C1E65C
analogous
#5C7CE6 #815CE6 #C65CE6
triadic
#815CE6 #E6815C #5CE681
tetradic
#815CE6 #E65C7C #C1E65C #5CE6C6
square
#815CE6 #E65C7C #C1E65C #5CE6C6
split-complementary
#815CE6 #E6C65C #7CE65C
monochromatic
#421BAD #5827DE #815CE6 #AA91EE #D3C6F6

Accessibility & contrast

On white

4.56
#815CE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#815CE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CE6
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE6#FFFFFF#000000##000000
##815CE61.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#0073E3
Tritanopia (blue-blind)
#637B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ce6;
/* rgb */ color: rgb(129, 92, 230);
/* oklch */ color: oklch(58.5% 0.200 291.3);
Tailwind
colors: {
  custom: {
    50: '#ac8cef',
    500: '#815ce6',
    950: '#000000',
  },
}
SCSS
$custom: #815ce6;
$custom-light: #ac8cef;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce6",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 230
  },
  "hsl": {
    "h": 256.087,
    "s": 73.404,
    "l": 63.137
  },
  "oklch": {
    "l": 0.58481,
    "c": 0.19954,
    "h": 291.3
  },
  "luminance": 0.18035
}

Semantic roles & 50–950 ramp

primary
#815CE6
secondary
#DAE8B6
accent
#D610A1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CE6

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

Preview Lab → · Contrast checker → · Palette generator →

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