#815EE3#815EE3

#815EE3 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.6% C 0.193 H 291.4°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#815EE3
RGBrgb(129, 94, 227)
HSLhsl(256, 70%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(43.2%, 58.6%, 0%, 11%)
CIE-LABlab(49.76, 44.90, -63.06)
CIE-LCHlch(49.76, 77.41, 305.45°)
OKLaboklab(58.58% 0.0705 -0.1798)
OKLCHoklch(58.58% 0.193 291.4)
XYZxyz(26.9173, 18.2177, 74.7563)
Luminance0.1822 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE3 #C0E35E
analogous
#5E7EE3 #815EE3 #C35EE3
triadic
#815EE3 #E3815E #5EE381
tetradic
#815EE3 #E35E7E #C0E35E #5EE3C3
square
#815EE3 #E35E7E #C0E35E #5EE3C3
split-complementary
#815EE3 #E3C35E #7EE35E
monochromatic
#421DA9 #582ADA #815EE3 #AA92EC #D3C6F5

Accessibility & contrast

On white

4.52
#815EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#815EE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE3
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE3#FFFFFF#000000##000000
##815EE31.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#0674E0
Tritanopia (blue-blind)
#657C98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ee3;
/* rgb */ color: rgb(129, 94, 227);
/* oklch */ color: oklch(58.6% 0.193 291.4);
Tailwind
colors: {
  custom: {
    50: '#ac8ded',
    500: '#815ee3',
    950: '#000000',
  },
}
SCSS
$custom: #815ee3;
$custom-light: #ac8ded;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee3",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 227
  },
  "hsl": {
    "h": 255.789,
    "s": 70.37,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.19315,
    "h": 291.4
  },
  "luminance": 0.18219
}

Semantic roles & 50–950 ramp

primary
#815EE3
secondary
#DAE6B6
accent
#D213A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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