#815DE0#815DE0

#815DE0 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.2% C 0.191 H 292.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#815DE0
RGBrgb(129, 93, 224)
HSLhsl(256, 68%, 62%)
HSVhsv(256, 58%, 88%)
CMYKcmyk(42.4%, 58.5%, 0%, 12.2%)
CIE-LABlab(49.35, 44.64, -62.03)
CIE-LCHlch(49.35, 76.42, 305.74°)
OKLaboklab(58.21% 0.0717 -0.1768)
OKLCHoklch(58.21% 0.191 292.1)
XYZxyz(26.4185, 17.8769, 72.5652)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DE0 #BCE05D
analogous
#5D7AE0 #815DE0 #C35DE0
triadic
#815DE0 #E0815D #5DE081
tetradic
#815DE0 #E05D7A #BCE05D #5DE0C3
square
#815DE0 #E05D7A #BCE05D #5DE0C3
split-complementary
#815DE0 #E0C35D #7AE05D
monochromatic
#441FA3 #592AD6 #815DE0 #A990EA #D1C4F4

Accessibility & contrast

On white

4.59
#815DE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#815DE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815DE0
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DE0#FFFFFF#000000##FFFFFF
##815DE01.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E4
Deuteranopia (green-blind)
#0F73DD
Tritanopia (blue-blind)
#667A96
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815de0;
/* rgb */ color: rgb(129, 93, 224);
/* oklch */ color: oklch(58.2% 0.191 292.1);
Tailwind
colors: {
  custom: {
    50: '#ab8cea',
    500: '#815de0',
    950: '#000000',
  },
}
SCSS
$custom: #815de0;
$custom-light: #ab8cea;
$custom-dark: #000000;
JSON
{
  "hex": "#815de0",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 224
  },
  "hsl": {
    "h": 256.489,
    "s": 67.876,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58214,
    "c": 0.19078,
    "h": 292.1
  },
  "luminance": 0.17878
}

Semantic roles & 50–950 ramp

primary
#815DE0
secondary
#D7E4B4
accent
#D0169D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DE0

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

Preview Lab → · Contrast checker → · Palette generator →

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