#804B95#804B95

#804B95 is a mid, vivid purple. Relative luminance 0.118; OKLCH L 50.5% C 0.126 H 315.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#804B95
RGBrgb(128, 75, 149)
HSLhsl(283, 33%, 44%)
HSVhsv(283, 50%, 58%)
CMYKcmyk(14.1%, 49.7%, 0%, 41.6%)
CIE-LABlab(40.88, 35.65, -31.80)
CIE-LCHlch(40.88, 47.77, 318.27°)
OKLaboklab(50.51% 0.0905 -0.0883)
OKLCHoklch(50.51% 0.126 315.7)
XYZxyz(16.8422, 11.7918, 29.8168)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#804B95 #60954B
analogous
#5B4B95 #804B95 #954B85
triadic
#804B95 #95804B #4B9580
tetradic
#804B95 #955B4B #60954B #4B8595
square
#804B95 #955B4B #60954B #4B8595
split-complementary
#804B95 #85954B #4B955B
monochromatic
#3A2244 #5D376C #804B95 #9F69B4 #B992C8

Accessibility & contrast

On white

6.25
#804B95 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#804B95 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #804B95
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##804B95#FFFFFF#000000##FFFFFF
##804B951.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D98
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#7F5669
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #804b95;
/* rgb */ color: rgb(128, 75, 149);
/* oklch */ color: oklch(50.5% 0.126 315.7);
Tailwind
colors: {
  custom: {
    50: '#a67fb4',
    500: '#804b95',
    950: '#000000',
  },
}
SCSS
$custom: #804b95;
$custom-light: #a67fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#804b95",
  "rgb": {
    "r": 128,
    "g": 75,
    "b": 149
  },
  "hsl": {
    "h": 282.973,
    "s": 33.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50513,
    "c": 0.12645,
    "h": 315.7
  },
  "luminance": 0.11791
}

Semantic roles & 50–950 ramp

primary
#804B95
secondary
#94B487
accent
#C95F7D
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100A11
muted
#7F7C80

Preview Lab

Preview with #804B95

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

Preview Lab → · Contrast checker → · Palette generator →

#804B95 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva