#815BDD#815BDD

#815BDD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.190 H 293.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#815BDD
RGBrgb(129, 91, 221)
HSLhsl(258, 66%, 61%)
HSVhsv(258, 59%, 87%)
CMYKcmyk(41.6%, 58.8%, 0%, 13.3%)
CIE-LABlab(48.72, 44.94, -61.34)
CIE-LCHlch(48.72, 76.04, 306.23°)
OKLaboklab(57.69% 0.0741 -0.1748)
OKLCHoklch(57.69% 0.19 293)
XYZxyz(25.8420, 17.3690, 70.3836)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BDD #B7DD5B
analogous
#5B76DD #815BDD #C25BDD
triadic
#815BDD #DD815B #5BDD81
tetradic
#815BDD #DD5B76 #B7DD5B #5BDDC2
square
#815BDD #DD5B76 #B7DD5B #5BDDC2
split-complementary
#815BDD #DDC25B #76DD5B
monochromatic
#45219D #5B2BD0 #815BDD #A88EE8 #CFC0F2

Accessibility & contrast

On white

4.69
#815BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#815BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BDD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BDD#FFFFFF#000000##FFFFFF
##815BDD1.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E1
Deuteranopia (green-blind)
#1271DA
Tritanopia (blue-blind)
#687893
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815bdd;
/* rgb */ color: rgb(129, 91, 221);
/* oklch */ color: oklch(57.7% 0.190 293.0);
Tailwind
colors: {
  custom: {
    50: '#ab8be8',
    500: '#815bdd',
    950: '#000000',
  },
}
SCSS
$custom: #815bdd;
$custom-light: #ab8be8;
$custom-dark: #000000;
JSON
{
  "hex": "#815bdd",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 221
  },
  "hsl": {
    "h": 257.538,
    "s": 65.657,
    "l": 61.176
  },
  "oklch": {
    "l": 0.57693,
    "c": 0.18981,
    "h": 293
  },
  "luminance": 0.1737
}

Semantic roles & 50–950 ramp

primary
#815BDD
secondary
#D4E2B1
accent
#CE1898
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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