#815EE6#815EE6

#815EE6 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.8% C 0.197 H 291.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#815EE6
RGBrgb(129, 94, 230)
HSLhsl(255, 73%, 64%)
HSVhsv(255, 59%, 90%)
CMYKcmyk(43.9%, 59.1%, 0%, 9.8%)
CIE-LABlab(49.96, 45.73, -64.43)
CIE-LCHlch(49.96, 79.01, 305.37°)
OKLaboklab(58.79% 0.0704 -0.1838)
OKLCHoklch(58.79% 0.197 291)
XYZxyz(27.3349, 18.3848, 76.9559)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE6 #C3E65E
analogous
#5E7FE6 #815EE6 #C55EE6
triadic
#815EE6 #E6815E #5EE681
tetradic
#815EE6 #E65E7F #C3E65E #5EE6C5
square
#815EE6 #E65E7F #C3E65E #5EE6C5
split-complementary
#815EE6 #E6C55E #7FE65E
monochromatic
#411BAF #5829DE #815EE6 #AA93EE #D4C8F6

Accessibility & contrast

On white

4.49
#815EE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#815EE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE6
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE6#FFFFFF#000000##000000
##815EE61.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EA
Deuteranopia (green-blind)
#0074E3
Tritanopia (blue-blind)
#637D99
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #815ee6;
/* rgb */ color: rgb(129, 94, 230);
/* oklch */ color: oklch(58.8% 0.197 291.0);
Tailwind
colors: {
  custom: {
    50: '#ac8def',
    500: '#815ee6',
    950: '#000000',
  },
}
SCSS
$custom: #815ee6;
$custom-light: #ac8def;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee6",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 230
  },
  "hsl": {
    "h": 255.441,
    "s": 73.118,
    "l": 63.529
  },
  "oklch": {
    "l": 0.5879,
    "c": 0.19686,
    "h": 291
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#815EE6
secondary
#DCE8B8
accent
#D510A3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE6

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

Preview Lab → · Contrast checker → · Palette generator →

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