#815DE4#815DE4

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

Color values

HEX#815DE4
RGBrgb(129, 93, 228)
HSLhsl(256, 71%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(43.4%, 59.2%, 0%, 10.6%)
CIE-LABlab(49.61, 45.74, -63.86)
CIE-LCHlch(49.61, 78.55, 305.61°)
OKLaboklab(58.49% 0.0716 -0.1822)
OKLCHoklch(58.49% 0.196 291.5)
XYZxyz(26.9673, 18.0964, 75.4558)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DE4 #C0E45D
analogous
#5D7CE4 #815DE4 #C45DE4
triadic
#815DE4 #E4815D #5DE481
tetradic
#815DE4 #E45D7C #C0E45D #5DE4C4
square
#815DE4 #E45D7C #C0E45D #5DE4C4
split-complementary
#815DE4 #E4C45D #7CE45D
monochromatic
#421CAA #5829DB #815DE4 #AA91ED #D3C6F5

Accessibility & contrast

On white

4.55
#815DE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##815DE4#FFFFFF#000000##000000
##815DE41.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#0073E1
Tritanopia (blue-blind)
#647B98
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815de4;
/* rgb */ color: rgb(129, 93, 228);
/* oklch */ color: oklch(58.5% 0.196 291.5);
Tailwind
colors: {
  custom: {
    50: '#ac8ced',
    500: '#815de4',
    950: '#000000',
  },
}
SCSS
$custom: #815de4;
$custom-light: #ac8ced;
$custom-dark: #000000;
JSON
{
  "hex": "#815de4",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 228
  },
  "hsl": {
    "h": 256,
    "s": 71.429,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58494,
    "c": 0.19574,
    "h": 291.5
  },
  "luminance": 0.18097
}

Semantic roles & 50–950 ramp

primary
#815DE4
secondary
#DAE7B6
accent
#D312A0
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DE4

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

Preview Lab → · Contrast checker → · Palette generator →

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