#815EE1#815EE1

#815EE1 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.4% C 0.191 H 291.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815EE1
RGBrgb(129, 94, 225)
HSLhsl(256, 69%, 63%)
HSVhsv(256, 58%, 88%)
CMYKcmyk(42.7%, 58.2%, 0%, 11.8%)
CIE-LABlab(49.63, 44.35, -62.14)
CIE-LCHlch(49.63, 76.35, 305.52°)
OKLaboklab(58.44% 0.0706 -0.1771)
OKLCHoklch(58.44% 0.191 291.7)
XYZxyz(26.6428, 18.1080, 73.3110)
Luminance0.1811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815EE1 #BEE15E
analogous
#5E7CE1 #815EE1 #C35EE1
triadic
#815EE1 #E1815E #5EE181
tetradic
#815EE1 #E15E7C #BEE15E #5EE1C3
square
#815EE1 #E15E7C #BEE15E #5EE1C3
split-complementary
#815EE1 #E1C35E #7CE15E
monochromatic
#431FA6 #592AD7 #815EE1 #A992EB #D2C5F4

Accessibility & contrast

On white

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

On black

4.62
#815EE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815EE1
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815EE1#FFFFFF#000000##000000
##815EE11.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#1073DE
Tritanopia (blue-blind)
#667B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815ee1;
/* rgb */ color: rgb(129, 94, 225);
/* oklch */ color: oklch(58.4% 0.191 291.7);
Tailwind
colors: {
  custom: {
    50: '#ab8deb',
    500: '#815ee1',
    950: '#000000',
  },
}
SCSS
$custom: #815ee1;
$custom-light: #ab8deb;
$custom-dark: #000000;
JSON
{
  "hex": "#815ee1",
  "rgb": {
    "r": 129,
    "g": 94,
    "b": 225
  },
  "hsl": {
    "h": 256.031,
    "s": 68.586,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5844,
    "c": 0.19066,
    "h": 291.7
  },
  "luminance": 0.18109
}

Semantic roles & 50–950 ramp

primary
#815EE1
secondary
#D8E5B6
accent
#D1159E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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