#815CD9#815CD9

#815CD9 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.183 H 293.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#815CD9
RGBrgb(129, 92, 217)
HSLhsl(258, 62%, 61%)
HSVhsv(258, 58%, 85%)
CMYKcmyk(40.6%, 57.6%, 0%, 14.9%)
CIE-LABlab(48.67, 43.30, -59.14)
CIE-LCHlch(48.67, 73.30, 306.21°)
OKLaboklab(57.57% 0.073 -0.1683)
OKLCHoklch(57.57% 0.183 293.4)
XYZxyz(25.4014, 17.3305, 67.6390)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CD9 #B4D95C
analogous
#5C75D9 #815CD9 #BF5CD9
triadic
#815CD9 #D9815C #5CD981
tetradic
#815CD9 #D95C75 #B4D95C #5CD9BF
square
#815CD9 #D95C75 #B4D95C #5CD9BF
split-complementary
#815CD9 #D9BF5C #75D95C
monochromatic
#462397 #5C2FC9 #815CD9 #A78EE5 #CEBFF0

Accessibility & contrast

On white

4.70
#815CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #815CD9
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CD9#FFFFFF#000000##FFFFFF
##815CD91.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DD
Deuteranopia (green-blind)
#2071D6
Tritanopia (blue-blind)
#6A7792
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815cd9;
/* rgb */ color: rgb(129, 92, 217);
/* oklch */ color: oklch(57.6% 0.183 293.4);
Tailwind
colors: {
  custom: {
    50: '#ab8be5',
    500: '#815cd9',
    950: '#000000',
  },
}
SCSS
$custom: #815cd9;
$custom-light: #ab8be5;
$custom-dark: #000000;
JSON
{
  "hex": "#815cd9",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 257.76,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57574,
    "c": 0.18346,
    "h": 293.4
  },
  "luminance": 0.17331
}

Semantic roles & 50–950 ramp

primary
#815CD9
secondary
#D2E0B1
accent
#CA1C96
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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