#815BDA#815BDA

#815BDA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.186 H 293.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#815BDA
RGBrgb(129, 91, 218)
HSLhsl(258, 63%, 61%)
HSVhsv(258, 58%, 85%)
CMYKcmyk(40.8%, 58.3%, 0%, 14.5%)
CIE-LABlab(48.52, 44.13, -59.95)
CIE-LCHlch(48.52, 74.44, 306.36°)
OKLaboklab(57.49% 0.0741 -0.1707)
OKLCHoklch(57.49% 0.186 293.5)
XYZxyz(25.4458, 17.2106, 68.2974)
Luminance0.1721 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815BDA #B4DA5B
analogous
#5B74DA #815BDA #C15BDA
triadic
#815BDA #DA815B #5BDA81
tetradic
#815BDA #DA5B74 #B4DA5B #5BDAC1
square
#815BDA #DA5B74 #B4DA5B #5BDAC1
split-complementary
#815BDA #DAC15B #74DA5B
monochromatic
#462298 #5C2ECA #815BDA #A78DE5 #CEBFF1

Accessibility & contrast

On white

4.73
#815BDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#815BDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815BDA
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815BDA#FFFFFF#000000##FFFFFF
##815BDA1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#1B71D7
Tritanopia (blue-blind)
#697792
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #815bda;
/* rgb */ color: rgb(129, 91, 218);
/* oklch */ color: oklch(57.5% 0.186 293.5);
Tailwind
colors: {
  custom: {
    50: '#ab8be6',
    500: '#815bda',
    950: '#000000',
  },
}
SCSS
$custom: #815bda;
$custom-light: #ab8be6;
$custom-dark: #000000;
JSON
{
  "hex": "#815bda",
  "rgb": {
    "r": 129,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 257.953,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.57485,
    "c": 0.1861,
    "h": 293.5
  },
  "luminance": 0.17211
}

Semantic roles & 50–950 ramp

primary
#815BDA
secondary
#D2E1B0
accent
#CB1B96
background
#FAF8FE
surface
#F5F0FC
border
#CFCBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #815BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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