#815DE2#815DE2

#815DE2 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.193 H 291.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#815DE2
RGBrgb(129, 93, 226)
HSLhsl(256, 70%, 63%)
HSVhsv(256, 59%, 89%)
CMYKcmyk(42.9%, 58.8%, 0%, 11.4%)
CIE-LABlab(49.48, 45.19, -62.95)
CIE-LCHlch(49.48, 77.49, 305.67°)
OKLaboklab(58.35% 0.0717 -0.1795)
OKLCHoklch(58.35% 0.193 291.8)
XYZxyz(26.6913, 17.9860, 74.0021)
Luminance0.1799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DE2 #BEE25D
analogous
#5D7BE2 #815DE2 #C45DE2
triadic
#815DE2 #E2815D #5DE281
tetradic
#815DE2 #E25D7B #BEE25D #5DE2C4
square
#815DE2 #E25D7B #BEE25D #5DE2C4
split-complementary
#815DE2 #E2C45D #7BE25D
monochromatic
#431EA7 #5929D9 #815DE2 #A991EB #D2C5F5

Accessibility & contrast

On white

4.57
#815DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#815DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #815DE2
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DE2#FFFFFF#000000##000000
##815DE21.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E6
Deuteranopia (green-blind)
#0573DF
Tritanopia (blue-blind)
#657B97
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #815de2;
/* rgb */ color: rgb(129, 93, 226);
/* oklch */ color: oklch(58.4% 0.193 291.8);
Tailwind
colors: {
  custom: {
    50: '#ac8cec',
    500: '#815de2',
    950: '#000000',
  },
}
SCSS
$custom: #815de2;
$custom-light: #ac8cec;
$custom-dark: #000000;
JSON
{
  "hex": "#815de2",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 256.241,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.19326,
    "h": 291.8
  },
  "luminance": 0.17987
}

Semantic roles & 50–950 ramp

primary
#815DE2
secondary
#D8E6B5
accent
#D2149E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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