#815CDB#815CDB

#815CDB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.186 H 293.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#815CDB
RGBrgb(129, 92, 219)
HSLhsl(257, 64%, 61%)
HSVhsv(257, 58%, 86%)
CMYKcmyk(41.1%, 58%, 0%, 14.1%)
CIE-LABlab(48.80, 43.84, -60.07)
CIE-LCHlch(48.80, 74.37, 306.12°)
OKLaboklab(57.71% 0.073 -0.171)
OKLCHoklch(57.71% 0.186 293.1)
XYZxyz(25.6631, 17.4352, 69.0173)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815CDB #B6DB5C
analogous
#5C76DB #815CDB #C05CDB
triadic
#815CDB #DB815C #5CDB81
tetradic
#815CDB #DB5C76 #B6DB5C #5CDBC0
square
#815CDB #DB5C76 #B6DB5C #5CDBC0
split-complementary
#815CDB #DBC05C #76DB5C
monochromatic
#45229A #5C2DCD #815CDB #A88EE6 #CEC0F1

Accessibility & contrast

On white

4.68
#815CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#815CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815CDB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815CDB#FFFFFF#000000##FFFFFF
##815CDB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0376DF
Deuteranopia (green-blind)
#1B72D8
Tritanopia (blue-blind)
#697893
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #815cdb;
/* rgb */ color: rgb(129, 92, 219);
/* oklch */ color: oklch(57.7% 0.186 293.1);
Tailwind
colors: {
  custom: {
    50: '#ab8be7',
    500: '#815cdb',
    950: '#000000',
  },
}
SCSS
$custom: #815cdb;
$custom-light: #ab8be7;
$custom-dark: #000000;
JSON
{
  "hex": "#815cdb",
  "rgb": {
    "r": 129,
    "g": 92,
    "b": 219
  },
  "hsl": {
    "h": 257.48,
    "s": 63.819,
    "l": 60.98
  },
  "oklch": {
    "l": 0.57711,
    "c": 0.18594,
    "h": 293.1
  },
  "luminance": 0.17436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #815CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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