#802B95#802B95

#802B95 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.176 H 318.9°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#802B95
RGBrgb(128, 43, 149)
HSLhsl(288, 55%, 38%)
HSVhsv(288, 71%, 58%)
CMYKcmyk(14.1%, 71.1%, 0%, 41.6%)
CIE-LABlab(34.98, 51.60, -41.18)
CIE-LCHlch(34.98, 66.02, 321.41°)
OKLaboklab(46.21% 0.1325 -0.1154)
OKLCHoklch(46.21% 0.176 318.9)
XYZxyz(15.1901, 8.4876, 29.2661)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B95 #40952B
analogous
#4B2B95 #802B95 #952B75
triadic
#802B95 #95802B #2B9580
tetradic
#802B95 #954B2B #40952B #2B7595
square
#802B95 #954B2B #40952B #2B7595
split-complementary
#802B95 #75952B #2B954B
monochromatic
#2E1036 #571D66 #802B95 #A939C4 #BE67D3

Accessibility & contrast

On white

7.79
#802B95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#802B95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B95
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B95#FFFFFF#000000##FFFFFF
##802B951.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#325593
Tritanopia (blue-blind)
#803F5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802b95;
/* rgb */ color: rgb(128, 43, 149);
/* oklch */ color: oklch(46.2% 0.176 318.9);
Tailwind
colors: {
  custom: {
    50: '#a86cb5',
    500: '#802b95',
    950: '#000000',
  },
}
SCSS
$custom: #802b95;
$custom-light: #a86cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#802b95",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 149
  },
  "hsl": {
    "h": 288.113,
    "s": 55.208,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46205,
    "c": 0.17574,
    "h": 318.9
  },
  "luminance": 0.08487
}

Semantic roles & 50–950 ramp

primary
#802B95
secondary
#74BA62
accent
#DF4967
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B95

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

Preview Lab → · Contrast checker → · Palette generator →

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