#803181#803181

#803181 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.7% C 0.149 H 327.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#803181
RGBrgb(128, 49, 129)
HSLhsl(299, 45%, 35%)
HSVhsv(299, 62%, 51%)
CMYKcmyk(0.8%, 62%, 0%, 49.4%)
CIE-LABlab(34.75, 45.09, -29.23)
CIE-LCHlch(34.75, 53.74, 327.05°)
OKLaboklab(45.66% 0.1251 -0.0807)
OKLCHoklch(45.66% 0.149 327.2)
XYZxyz(13.9626, 8.3717, 21.6451)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#803181 #328131
analogous
#583181 #803181 #81315A
triadic
#803181 #818031 #318180
tetradic
#803181 #815831 #328131 #315A81
square
#803181 #815831 #328131 #315A81
split-complementary
#803181 #5A8131 #318158
monochromatic
#280F28 #542055 #803181 #AC42AD #C467C5

Accessibility & contrast

On white

7.85
#803181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#803181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #803181
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##803181#FFFFFF#000000##FFFFFF
##8031811.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274B83
Deuteranopia (green-blind)
#43557F
Tritanopia (blue-blind)
#843B54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #803181;
/* rgb */ color: rgb(128, 49, 129);
/* oklch */ color: oklch(45.7% 0.149 327.2);
Tailwind
colors: {
  custom: {
    50: '#a76fa6',
    500: '#803181',
    950: '#000000',
  },
}
SCSS
$custom: #803181;
$custom-light: #a76fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#803181",
  "rgb": {
    "r": 128,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 299.25,
    "s": 44.944,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45657,
    "c": 0.1489,
    "h": 327.2
  },
  "luminance": 0.08371
}

Semantic roles & 50–950 ramp

primary
#803181
secondary
#62AD61
accent
#D55355
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10080F
muted
#7F7B7F

Preview Lab

Preview with #803181

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

Preview Lab → · Contrast checker → · Palette generator →

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