#815CE4#815CE4

#815CE4 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.3% C 0.197 H 291.6°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#815CE4
RGBrgb(129, 92, 228)
HSLhsl(256, 72%, 63%)
HSVhsv(256, 60%, 89%)
CMYKcmyk(43.4%, 59.6%, 0%, 10.6%)
CIE-LABlab(49.40, 46.29, -64.20)
CIE-LCHlch(49.40, 79.15, 305.79°)
OKLaboklab(58.34% 0.0727 -0.1832)
OKLCHoklch(58.34% 0.197 291.6)
XYZxyz(26.8801, 17.9220, 75.4268)
Luminance0.1792 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE4 #BFE45C
analogous
#5C7BE4 #815CE4 #C55CE4
triadic
#815CE4 #E4815C #5CE481
tetradic
#815CE4 #E45C7B #BFE45C #5CE4C5
square
#815CE4 #E45C7B #BFE45C #5CE4C5
split-complementary
#815CE4 #E4C55C #7BE45C
monochromatic
#431CAA #5827DB #815CE4 #AA91ED #D2C5F5

Accessibility & contrast

On white

4.58
#815CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#815CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CE4
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE4#FFFFFF#000000##000000
##815CE41.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#647B97
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ce4;
/* rgb */ color: rgb(129, 92, 228);
/* oklch */ color: oklch(58.3% 0.197 291.6);
Tailwind
colors: {
  custom: {
    50: '#ac8ced',
    500: '#815ce4',
    950: '#000000',
  },
}
SCSS
$custom: #815ce4;
$custom-light: #ac8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce4",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 256.324,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58339,
    "c": 0.19708,
    "h": 291.6
  },
  "luminance": 0.17923
}

Semantic roles & 50–950 ramp

primary
#815CE4
secondary
#D9E7B5
accent
#D4129F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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