#815FB8#815FB8

#815FB8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.0% C 0.137 H 299.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#815FB8
RGBrgb(129, 95, 184)
HSLhsl(263, 39%, 55%)
HSVhsv(263, 48%, 72%)
CMYKcmyk(29.9%, 48.4%, 0%, 27.8%)
CIE-LABlab(47.38, 32.84, -42.23)
CIE-LCHlch(47.38, 53.50, 307.87°)
OKLaboklab(55.98% 0.0675 -0.1187)
OKLCHoklch(55.98% 0.137 299.6)
XYZxyz(21.7952, 16.3121, 47.3384)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815FB8 #96B85F
analogous
#5F6AB8 #815FB8 #AD5FB8
triadic
#815FB8 #B8815F #5FB881
tetradic
#815FB8 #B85F6A #96B85F #5FB8AD
square
#815FB8 #B85F6A #96B85F #5FB8AD
split-complementary
#815FB8 #B8AD5F #6AB85F
monochromatic
#47306C #634397 #815FB8 #A289CB #C4B4DE

Accessibility & contrast

On white

4.93
#815FB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#815FB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815FB8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815FB8#FFFFFF#000000##FFFFFF
##815FB81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4370BB
Deuteranopia (green-blind)
#4B70B6
Tritanopia (blue-blind)
#766F83
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #815fb8;
/* rgb */ color: rgb(129, 95, 184);
/* oklch */ color: oklch(56.0% 0.137 299.6);
Tailwind
colors: {
  custom: {
    50: '#a88dce',
    500: '#815fb8',
    950: '#000000',
  },
}
SCSS
$custom: #815fb8;
$custom-light: #a88dce;
$custom-dark: #000000;
JSON
{
  "hex": "#815fb8",
  "rgb": {
    "r": 129,
    "g": 95,
    "b": 184
  },
  "hsl": {
    "h": 262.921,
    "s": 38.528,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55984,
    "c": 0.13657,
    "h": 299.6
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#815FB8
secondary
#BECCA7
accent
#CE59A2
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #815FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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