#815BDF#815BDF

#815BDF is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.8% C 0.192 H 292.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#815BDF
RGBrgb(129, 91, 223)
HSLhsl(257, 67%, 62%)
HSVhsv(257, 59%, 87%)
CMYKcmyk(42.2%, 59.2%, 0%, 12.5%)
CIE-LABlab(48.85, 45.49, -62.26)
CIE-LCHlch(48.85, 77.10, 306.15°)
OKLaboklab(57.83% 0.074 -0.1775)
OKLCHoklch(57.83% 0.192 292.6)
XYZxyz(26.1100, 17.4763, 71.7953)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BDF #B9DF5B
analogous
#5B77DF #815BDF #C35BDF
triadic
#815BDF #DF815B #5BDF81
tetradic
#815BDF #DF5B77 #B9DF5B #5BDFC3
square
#815BDF #DF5B77 #B9DF5B #5BDFC3
split-complementary
#815BDF #DFC35B #77DF5B
monochromatic
#441FA0 #5A29D4 #815BDF #A88EE9 #D0C1F3

Accessibility & contrast

On white

4.67
#815BDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#815BDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #815BDF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BDF#FFFFFF#000000##FFFFFF
##815BDF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#0872DC
Tritanopia (blue-blind)
#677894
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815bdf;
/* rgb */ color: rgb(129, 91, 223);
/* oklch */ color: oklch(57.8% 0.192 292.6);
Tailwind
colors: {
  custom: {
    50: '#ab8bea',
    500: '#815bdf',
    950: '#000000',
  },
}
SCSS
$custom: #815bdf;
$custom-light: #ab8bea;
$custom-dark: #000000;
JSON
{
  "hex": "#815bdf",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 223
  },
  "hsl": {
    "h": 257.273,
    "s": 67.347,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57832,
    "c": 0.19228,
    "h": 292.6
  },
  "luminance": 0.17477
}

Semantic roles & 50–950 ramp

primary
#815BDF
secondary
#D5E3B2
accent
#CF169A
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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