#815CE8#815CE8

#815CE8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.6% C 0.202 H 291.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#815CE8
RGBrgb(129, 92, 232)
HSLhsl(256, 75%, 64%)
HSVhsv(256, 60%, 91%)
CMYKcmyk(44.4%, 60.3%, 0%, 9%)
CIE-LABlab(49.67, 47.39, -66.02)
CIE-LCHlch(49.67, 81.27, 305.67°)
OKLaboklab(58.62% 0.0725 -0.1885)
OKLCHoklch(58.62% 0.202 291)
XYZxyz(27.4418, 18.1467, 78.3851)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CE8 #C3E85C
analogous
#5C7DE8 #815CE8 #C75CE8
triadic
#815CE8 #E8815C #5CE881
tetradic
#815CE8 #E85C7D #C3E85C #5CE8C7
square
#815CE8 #E85C7D #C3E85C #5CE8C7
split-complementary
#815CE8 #E8C75C #7DE85C
monochromatic
#4119B1 #5826E0 #815CE8 #AA92F0 #D4C7F7

Accessibility & contrast

On white

4.54
#815CE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#815CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815CE8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CE8#FFFFFF#000000##000000
##815CE81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#627C99
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ce8;
/* rgb */ color: rgb(129, 92, 232);
/* oklch */ color: oklch(58.6% 0.202 291.0);
Tailwind
colors: {
  custom: {
    50: '#ac8cf0',
    500: '#815ce8',
    950: '#000000',
  },
}
SCSS
$custom: #815ce8;
$custom-light: #ac8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#815ce8",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 255.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.58624,
    "c": 0.20198,
    "h": 291
  },
  "luminance": 0.18148
}

Semantic roles & 50–950 ramp

primary
#815CE8
secondary
#DCE9B7
accent
#D70EA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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