#815199#815199

#815199 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 51.8% C 0.121 H 313.6°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#815199
RGBrgb(129, 81, 153)
HSLhsl(280, 31%, 46%)
HSVhsv(280, 47%, 60%)
CMYKcmyk(15.7%, 47.1%, 0%, 40%)
CIE-LABlab(42.54, 33.44, -31.59)
CIE-LCHlch(42.54, 46.00, 316.63°)
OKLaboklab(51.84% 0.0834 -0.0877)
OKLCHoklch(51.84% 0.121 313.6)
XYZxyz(17.7445, 12.8523, 31.6768)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#815199 #699951
analogous
#5D5199 #815199 #99518D
triadic
#815199 #998151 #519981
tetradic
#815199 #995D51 #699951 #518D99
square
#815199 #995D51 #699951 #518D99
split-complementary
#815199 #8D9951 #51995D
monochromatic
#3E2749 #5F3C71 #815199 #9F73B5 #BA9BCA

Accessibility & contrast

On white

5.88
#815199 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#815199 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #815199
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##815199#FFFFFF#000000##FFFFFF
##8151991.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42629C
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#7F5C6E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #815199;
/* rgb */ color: rgb(129, 81, 153);
/* oklch */ color: oklch(51.8% 0.121 313.6);
Tailwind
colors: {
  custom: {
    50: '#a783b7',
    500: '#815199',
    950: '#000000',
  },
}
SCSS
$custom: #815199;
$custom-light: #a783b7;
$custom-dark: #000000;
JSON
{
  "hex": "#815199",
  "rgb": {
    "r": 129,
    "g": 81,
    "b": 153
  },
  "hsl": {
    "h": 280,
    "s": 30.769,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51839,
    "c": 0.12107,
    "h": 313.6
  },
  "luminance": 0.12852
}

Semantic roles & 50–950 ramp

primary
#815199
secondary
#9CB78F
accent
#C76183
background
#FAF8FB
surface
#F4EFF6
border
#CECAD0
text
#100B11
muted
#7F7C80

Preview Lab

Preview with #815199

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

Preview Lab → · Contrast checker → · Palette generator →

#815199 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva