#815DBE#815DBE

#815DBE is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.0% C 0.148 H 298.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#815DBE
RGBrgb(129, 93, 190)
HSLhsl(262, 43%, 55%)
HSVhsv(262, 51%, 75%)
CMYKcmyk(32.1%, 51.1%, 0%, 25.5%)
CIE-LABlab(47.25, 35.56, -45.92)
CIE-LCHlch(47.25, 58.08, 307.75°)
OKLaboklab(56% 0.0708 -0.1295)
OKLCHoklch(56% 0.148 298.7)
XYZxyz(22.2596, 16.2133, 50.6620)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815DBE #9ABE5D
analogous
#5D69BE #815DBE #B15DBE
triadic
#815DBE #BE815D #5DBE81
tetradic
#815DBE #BE5D69 #9ABE5D #5DBEB1
square
#815DBE #BE5D69 #9ABE5D #5DBEB1
split-complementary
#815DBE #BEB15D #69BE5D
monochromatic
#472E73 #63409E #815DBE #A389D0 #C5B4E1

Accessibility & contrast

On white

4.95
#815DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#815DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815DBE
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815DBE#FFFFFF#000000##FFFFFF
##815DBE1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B70C1
Deuteranopia (green-blind)
#446FBC
Tritanopia (blue-blind)
#747085
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815dbe;
/* rgb */ color: rgb(129, 93, 190);
/* oklch */ color: oklch(56.0% 0.148 298.7);
Tailwind
colors: {
  custom: {
    50: '#a88cd2',
    500: '#815dbe',
    950: '#000000',
  },
}
SCSS
$custom: #815dbe;
$custom-light: #a88cd2;
$custom-dark: #000000;
JSON
{
  "hex": "#815dbe",
  "rgb": {
    "r": 129,
    "g": 93,
    "b": 190
  },
  "hsl": {
    "h": 262.268,
    "s": 42.731,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55996,
    "c": 0.1476,
    "h": 298.7
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#815DBE
secondary
#C1D0A7
accent
#D355A4
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #815DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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