#815BE8#815BE8

#815BE8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.5% C 0.203 H 291.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815BE8
RGBrgb(129, 91, 232)
HSLhsl(256, 75%, 63%)
HSVhsv(256, 61%, 91%)
CMYKcmyk(44.4%, 60.8%, 0%, 9%)
CIE-LABlab(49.47, 47.94, -66.36)
CIE-LCHlch(49.47, 81.86, 305.85°)
OKLaboklab(58.47% 0.0736 -0.1895)
OKLCHoklch(58.47% 0.203 291.2)
XYZxyz(27.3558, 17.9746, 78.3564)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BE8 #C2E85B
analogous
#5B7BE8 #815BE8 #C75BE8
triadic
#815BE8 #E8815B #5BE881
tetradic
#815BE8 #E85B7B #C2E85B #5BE8C7
square
#815BE8 #E85B7B #C2E85B #5BE8C7
split-complementary
#815BE8 #E8C75B #7BE85B
monochromatic
#4119B0 #5825E0 #815BE8 #AA91F0 #D3C6F7

Accessibility & contrast

On white

4.57
#815BE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#815BE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815BE8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BE8#FFFFFF#000000##000000
##815BE81.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #815be8;
/* rgb */ color: rgb(129, 91, 232);
/* oklch */ color: oklch(58.5% 0.203 291.2);
Tailwind
colors: {
  custom: {
    50: '#ac8bf0',
    500: '#815be8',
    950: '#000000',
  },
}
SCSS
$custom: #815be8;
$custom-light: #ac8bf0;
$custom-dark: #000000;
JSON
{
  "hex": "#815be8",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 232
  },
  "hsl": {
    "h": 256.17,
    "s": 75.401,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58472,
    "c": 0.20329,
    "h": 291.2
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#815BE8
secondary
#DBE9B6
accent
#D80EA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815BE8

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

Preview Lab → · Contrast checker → · Palette generator →

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