#815DDE#815DDE

#815DDE is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.188 H 292.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#815DDE
RGBrgb(129, 93, 222)
HSLhsl(257, 66%, 62%)
HSVhsv(257, 58%, 87%)
CMYKcmyk(41.9%, 58.1%, 0%, 12.9%)
CIE-LABlab(49.21, 44.09, -61.11)
CIE-LCHlch(49.21, 75.36, 305.81°)
OKLaboklab(58.08% 0.0718 -0.1741)
OKLCHoklch(58.08% 0.188 292.4)
XYZxyz(26.1488, 17.7690, 71.1451)
Luminance0.1777 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DDE #BADE5D
analogous
#5D7ADE #815DDE #C25DDE
triadic
#815DDE #DE815D #5DDE81
tetradic
#815DDE #DE5D7A #BADE5D #5DDEC2
square
#815DDE #DE5D7A #BADE5D #5DDEC2
split-complementary
#815DDE #DEC25D #7ADE5D
monochromatic
#4421A0 #5A2BD3 #815DDE #A990E8 #D0C3F3

Accessibility & contrast

On white

4.61
#815DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#815DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815DDE
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DDE#FFFFFF#000000##FFFFFF
##815DDE1.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#677995
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815dde;
/* rgb */ color: rgb(129, 93, 222);
/* oklch */ color: oklch(58.1% 0.188 292.4);
Tailwind
colors: {
  custom: {
    50: '#ab8ce9',
    500: '#815dde',
    950: '#000000',
  },
}
SCSS
$custom: #815dde;
$custom-light: #ab8ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#815dde",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 256.744,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58075,
    "c": 0.1883,
    "h": 292.4
  },
  "luminance": 0.1777
}

Semantic roles & 50–950 ramp

primary
#815DDE
secondary
#D6E3B4
accent
#CE179B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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