#815BDB#815BDB

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

Color values

HEX#815BDB
RGBrgb(129, 91, 219)
HSLhsl(258, 64%, 61%)
HSVhsv(258, 58%, 86%)
CMYKcmyk(41.1%, 58.4%, 0%, 14.1%)
CIE-LABlab(48.59, 44.40, -60.42)
CIE-LCHlch(48.59, 74.98, 306.31°)
OKLaboklab(57.55% 0.0741 -0.172)
OKLCHoklch(57.55% 0.187 293.3)
XYZxyz(25.5771, 17.2631, 68.9886)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BDB #B5DB5B
analogous
#5B75DB #815BDB #C15BDB
triadic
#815BDB #DB815B #5BDB81
tetradic
#815BDB #DB5B75 #B5DB5B #5BDBC1
square
#815BDB #DB5B75 #B5DB5B #5BDBC1
split-complementary
#815BDB #DBC15B #75DB5B
monochromatic
#45229A #5C2DCC #815BDB #A88DE6 #CEBFF1

Accessibility & contrast

On white

4.72
#815BDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#815BDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BDB
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BDB#FFFFFF#000000##FFFFFF
##815BDB1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#1871D8
Tritanopia (blue-blind)
#697792
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815bdb;
/* rgb */ color: rgb(129, 91, 219);
/* oklch */ color: oklch(57.6% 0.187 293.3);
Tailwind
colors: {
  custom: {
    50: '#ab8be7',
    500: '#815bdb',
    950: '#000000',
  },
}
SCSS
$custom: #815bdb;
$custom-light: #ab8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#815bdb",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 219
  },
  "hsl": {
    "h": 257.813,
    "s": 64,
    "l": 60.784
  },
  "oklch": {
    "l": 0.57554,
    "c": 0.18733,
    "h": 293.3
  },
  "luminance": 0.17264
}

Semantic roles & 50–950 ramp

primary
#815BDB
secondary
#D3E1B1
accent
#CC1A97
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BDB

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

Preview Lab → · Contrast checker → · Palette generator →

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