#815DB2#815DB2

#815DB2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.3% C 0.132 H 301.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#815DB2
RGBrgb(129, 93, 178)
HSLhsl(265, 36%, 53%)
HSVhsv(265, 48%, 70%)
CMYKcmyk(27.5%, 47.8%, 0%, 30.2%)
CIE-LABlab(46.59, 32.49, -39.99)
CIE-LCHlch(46.59, 51.52, 309.09°)
OKLaboklab(55.29% 0.0696 -0.1122)
OKLCHoklch(55.29% 0.132 301.8)
XYZxyz(21.0017, 15.7101, 44.0368)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DB2 #8EB25D
analogous
#5D63B2 #815DB2 #AC5DB2
triadic
#815DB2 #B2815D #5DB281
tetradic
#815DB2 #B25D63 #8EB25D #5DB2AC
square
#815DB2 #B25D63 #8EB25D #5DB2AC
split-complementary
#815DB2 #B2AC5D #63B25D
monochromatic
#463065 #63448E #815DB2 #A186C6 #C2B0D9

Accessibility & contrast

On white

5.07
#815DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#815DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DB2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DB2#FFFFFF#000000##FFFFFF
##815DB21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#4D6EB0
Tritanopia (blue-blind)
#786C7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #815db2;
/* rgb */ color: rgb(129, 93, 178);
/* oklch */ color: oklch(55.3% 0.132 301.8);
Tailwind
colors: {
  custom: {
    50: '#a88cc9',
    500: '#815db2',
    950: '#000000',
  },
}
SCSS
$custom: #815db2;
$custom-light: #a88cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#815db2",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 178
  },
  "hsl": {
    "h": 265.412,
    "s": 35.565,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55288,
    "c": 0.13198,
    "h": 301.8
  },
  "luminance": 0.1571
}

Semantic roles & 50–950 ramp

primary
#815DB2
secondary
#B8C8A3
accent
#CC5C9C
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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