#814799#814799

#814799 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 50.2% C 0.138 H 315.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#814799
RGBrgb(129, 71, 153)
HSLhsl(282, 37%, 44%)
HSVhsv(282, 54%, 60%)
CMYKcmyk(15.7%, 53.6%, 0%, 40%)
CIE-LABlab(40.37, 39.05, -35.02)
CIE-LCHlch(40.37, 52.45, 318.12°)
OKLaboklab(50.23% 0.0981 -0.0976)
OKLCHoklch(50.23% 0.138 315.1)
XYZxyz(17.0554, 11.4740, 31.4471)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814799 #5F9947
analogous
#584799 #814799 #994788
triadic
#814799 #998147 #479981
tetradic
#814799 #995847 #5F9947 #478899
square
#814799 #995847 #5F9947 #478899
split-complementary
#814799 #889947 #479958
monochromatic
#3B2045 #5E346F #814799 #A065B8 #BA8FCB

Accessibility & contrast

On white

6.37
#814799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#814799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814799
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814799#FFFFFF#000000##FFFFFF
##8147991.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345C9C
Deuteranopia (green-blind)
#476197
Tritanopia (blue-blind)
#7F5469
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #814799;
/* rgb */ color: rgb(129, 71, 153);
/* oklch */ color: oklch(50.2% 0.138 315.1);
Tailwind
colors: {
  custom: {
    50: '#a87cb7',
    500: '#814799',
    950: '#000000',
  },
}
SCSS
$custom: #814799;
$custom-light: #a87cb7;
$custom-dark: #000000;
JSON
{
  "hex": "#814799",
  "rgb": {
    "r": 129,
    "g": 71,
    "b": 153
  },
  "hsl": {
    "h": 282.439,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50227,
    "c": 0.13837,
    "h": 315.1
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#814799
secondary
#94B785
accent
#CD5B7C
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #814799

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

Preview Lab → · Contrast checker → · Palette generator →

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