#814F7C#814F7C

#814F7C is a mid, moderate purple. Relative luminance 0.117; OKLCH L 50.1% C 0.092 H 330.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#814F7C
RGBrgb(129, 79, 124)
HSLhsl(306, 24%, 41%)
HSVhsv(306, 39%, 51%)
CMYKcmyk(0%, 38.8%, 3.9%, 49.4%)
CIE-LABlab(40.76, 28.44, -16.79)
CIE-LCHlch(40.76, 33.03, 329.45°)
OKLaboklab(50.07% 0.0802 -0.0454)
OKLCHoklch(50.07% 0.092 330.5)
XYZxyz(15.4871, 11.7151, 20.5103)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#814F7C #4F8154
analogous
#6D4F81 #814F7C #814F63
triadic
#814F7C #7C814F #4F7C81
tetradic
#814F7C #816D4F #4F8154 #4F6381
square
#814F7C #816D4F #4F8154 #4F6381
split-complementary
#814F7C #63814F #4F816D
monochromatic
#352133 #5B3858 #814F7C #A46A9E #BB90B6

Accessibility & contrast

On white

6.28
#814F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#814F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #814F7C
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##814F7C#FFFFFF#000000##FFFFFF
##814F7C1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7E
Deuteranopia (green-blind)
#5A637A
Tritanopia (blue-blind)
#855260
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #814f7c;
/* rgb */ color: rgb(129, 79, 124);
/* oklch */ color: oklch(50.1% 0.092 330.5);
Tailwind
colors: {
  custom: {
    50: '#a681a2',
    500: '#814f7c',
    950: '#000000',
  },
}
SCSS
$custom: #814f7c;
$custom-light: #a681a2;
$custom-dark: #000000;
JSON
{
  "hex": "#814f7c",
  "rgb": {
    "r": 129,
    "g": 79,
    "b": 124
  },
  "hsl": {
    "h": 306,
    "s": 24.038,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.09219,
    "h": 330.5
  },
  "luminance": 0.11714
}

Semantic roles & 50–950 ramp

primary
#814F7C
secondary
#84A888
accent
#C07067
background
#FAF7F9
surface
#F4EEF2
border
#CEC9CC
text
#0F0A0F
muted
#7F7C7E

Preview Lab

Preview with #814F7C

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

Preview Lab → · Contrast checker → · Palette generator →

#814F7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva