#815FD9#815FD9

#815FD9 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.1% C 0.179 H 292.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#815FD9
RGBrgb(129, 95, 217)
HSLhsl(257, 62%, 61%)
HSVhsv(257, 56%, 85%)
CMYKcmyk(40.6%, 56.2%, 0%, 14.9%)
CIE-LABlab(49.33, 41.60, -58.09)
CIE-LCHlch(49.33, 71.45, 305.61°)
OKLaboklab(58.06% 0.0695 -0.1652)
OKLCHoklch(58.06% 0.179 292.8)
XYZxyz(25.6665, 17.8606, 67.7273)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FD9 #B7D95F
analogous
#5F7AD9 #815FD9 #BE5FD9
triadic
#815FD9 #D9815F #5FD981
tetradic
#815FD9 #D95F7A #B7D95F #5FD9BE
square
#815FD9 #D95F7A #B7D95F #5FD9BE
split-complementary
#815FD9 #D9BE5F #7AD95F
monochromatic
#452499 #5B30CB #815FD9 #A890E5 #CFC2F0

Accessibility & contrast

On white

4.59
#815FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#815FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815FD9
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FD9#FFFFFF#000000##FFFFFF
##815FD91.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C77DD
Deuteranopia (green-blind)
#2873D6
Tritanopia (blue-blind)
#6A7993
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #815fd9;
/* rgb */ color: rgb(129, 95, 217);
/* oklch */ color: oklch(58.1% 0.179 292.8);
Tailwind
colors: {
  custom: {
    50: '#ab8de5',
    500: '#815fd9',
    950: '#000000',
  },
}
SCSS
$custom: #815fd9;
$custom-light: #ab8de5;
$custom-dark: #000000;
JSON
{
  "hex": "#815fd9",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 256.721,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58055,
    "c": 0.17922,
    "h": 292.8
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#815FD9
secondary
#D4E1B3
accent
#C91C99
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#100C16
muted
#7F7D84

Preview Lab

Preview with #815FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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