#815DDD#815DDD

#815DDD is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.0% C 0.187 H 292.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#815DDD
RGBrgb(129, 93, 221)
HSLhsl(257, 65%, 62%)
HSVhsv(257, 58%, 87%)
CMYKcmyk(41.6%, 57.9%, 0%, 13.3%)
CIE-LABlab(49.15, 43.82, -60.65)
CIE-LCHlch(49.15, 74.82, 305.85°)
OKLaboklab(58.01% 0.0718 -0.1727)
OKLCHoklch(58.01% 0.187 292.6)
XYZxyz(26.0152, 17.7156, 70.4414)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DDD #B9DD5D
analogous
#5D79DD #815DDD #C15DDD
triadic
#815DDD #DD815D #5DDD81
tetradic
#815DDD #DD5D79 #B9DD5D #5DDDC1
square
#815DDD #DD5D79 #B9DD5D #5DDDC1
split-complementary
#815DDD #DDC15D #79DD5D
monochromatic
#44219E #5A2CD1 #815DDD #A890E8 #D0C2F2

Accessibility & contrast

On white

4.62
#815DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#815DDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815DDD
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DDD#FFFFFF#000000##FFFFFF
##815DDD1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0277E1
Deuteranopia (green-blind)
#1972DA
Tritanopia (blue-blind)
#687994
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815ddd;
/* rgb */ color: rgb(129, 93, 221);
/* oklch */ color: oklch(58.0% 0.187 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab8ce8',
    500: '#815ddd',
    950: '#000000',
  },
}
SCSS
$custom: #815ddd;
$custom-light: #ab8ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#815ddd",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 221
  },
  "hsl": {
    "h": 256.875,
    "s": 65.306,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58006,
    "c": 0.18705,
    "h": 292.6
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

primary
#815DDD
secondary
#D5E3B3
accent
#CD189A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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