#815BD9#815BD9

#815BD9 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.185 H 293.7°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#815BD9
RGBrgb(129, 91, 217)
HSLhsl(258, 62%, 60%)
HSVhsv(258, 58%, 85%)
CMYKcmyk(40.6%, 58.1%, 0%, 14.9%)
CIE-LABlab(48.46, 43.86, -59.49)
CIE-LCHlch(48.46, 73.91, 306.40°)
OKLaboklab(57.42% 0.0742 -0.1693)
OKLCHoklch(57.42% 0.185 293.7)
XYZxyz(25.3154, 17.1584, 67.6103)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BD9 #B3D95B
analogous
#5B74D9 #815BD9 #C05BD9
triadic
#815BD9 #D9815B #5BD981
tetradic
#815BD9 #D95B74 #B3D95B #5BD9C0
square
#815BD9 #D95B74 #B3D95B #5BD9C0
split-complementary
#815BD9 #D9C05B #74D95B
monochromatic
#462397 #5D2EC8 #815BD9 #A78DE5 #CDBEF0

Accessibility & contrast

On white

4.74
#815BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#815BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BD9
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BD9#FFFFFF#000000##FFFFFF
##815BD91.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0574DD
Deuteranopia (green-blind)
#1D71D6
Tritanopia (blue-blind)
#6A7691
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815bd9;
/* rgb */ color: rgb(129, 91, 217);
/* oklch */ color: oklch(57.4% 0.185 293.7);
Tailwind
colors: {
  custom: {
    50: '#ab8be5',
    500: '#815bd9',
    950: '#000000',
  },
}
SCSS
$custom: #815bd9;
$custom-light: #ab8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#815bd9",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 258.095,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.57417,
    "c": 0.18486,
    "h": 293.7
  },
  "luminance": 0.17159
}

Semantic roles & 50–950 ramp

primary
#815BD9
secondary
#D1E0B0
accent
#CA1B95
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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