#815DE8#815DE8

#815DE8 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 58.8% C 0.201 H 290.9°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#815DE8
RGBrgb(129, 93, 232)
HSLhsl(256, 75%, 64%)
HSVhsv(256, 60%, 91%)
CMYKcmyk(44.4%, 59.9%, 0%, 9%)
CIE-LABlab(49.88, 46.84, -65.68)
CIE-LCHlch(49.88, 80.67, 305.49°)
OKLaboklab(58.78% 0.0714 -0.1875)
OKLCHoklch(58.78% 0.201 290.9)
XYZxyz(27.5290, 18.3211, 78.4141)
Luminance0.1832 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DE8 #C4E85D
analogous
#5D7EE8 #815DE8 #C75DE8
triadic
#815DE8 #E8815D #5DE881
tetradic
#815DE8 #E85D7E #C4E85D #5DE8C7
square
#815DE8 #E85D7E #C4E85D #5DE8C7
split-complementary
#815DE8 #E8C75D #7EE85D
monochromatic
#4119B1 #5727E0 #815DE8 #AB93F0 #D4C8F7

Accessibility & contrast

On white

4.50
#815DE8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#815DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DE8
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DE8#FFFFFF#000000##000000
##815DE81.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#627D9A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815de8;
/* rgb */ color: rgb(129, 93, 232);
/* oklch */ color: oklch(58.8% 0.201 290.9);
Tailwind
colors: {
  custom: {
    50: '#ac8cf0',
    500: '#815de8',
    950: '#000000',
  },
}
SCSS
$custom: #815de8;
$custom-light: #ac8cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#815de8",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 232
  },
  "hsl": {
    "h": 255.54,
    "s": 75.135,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58777,
    "c": 0.20066,
    "h": 290.9
  },
  "luminance": 0.18322
}

Semantic roles & 50–950 ramp

primary
#815DE8
secondary
#DCE9B8
accent
#D70EA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #815DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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