#802B94#802B94

#802B94 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.175 H 319.3°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#802B94
RGBrgb(128, 43, 148)
HSLhsl(289, 55%, 37%)
HSVhsv(289, 71%, 58%)
CMYKcmyk(13.5%, 70.9%, 0%, 42%)
CIE-LABlab(34.91, 51.40, -40.67)
CIE-LCHlch(34.91, 65.55, 321.65°)
OKLaboklab(46.14% 0.1326 -0.1139)
OKLCHoklch(46.14% 0.175 319.3)
XYZxyz(15.1106, 8.4558, 28.8474)
Luminance0.0846 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B94 #3F942B
analogous
#4B2B94 #802B94 #942B74
triadic
#802B94 #94802B #2B9480
tetradic
#802B94 #944B2B #3F942B #2B7494
square
#802B94 #944B2B #3F942B #2B7494
split-complementary
#802B94 #74942B #2B944B
monochromatic
#2E0F35 #571D65 #802B94 #A939C3 #BE67D3

Accessibility & contrast

On white

7.80
#802B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#802B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B94
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B94#FFFFFF#000000##FFFFFF
##802B941.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#335592
Tritanopia (blue-blind)
#803F5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802b94;
/* rgb */ color: rgb(128, 43, 148);
/* oklch */ color: oklch(46.1% 0.175 319.3);
Tailwind
colors: {
  custom: {
    50: '#a86cb4',
    500: '#802b94',
    950: '#000000',
  },
}
SCSS
$custom: #802b94;
$custom-light: #a86cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#802b94",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 288.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46139,
    "c": 0.17481,
    "h": 319.3
  },
  "luminance": 0.08455
}

Semantic roles & 50–950 ramp

primary
#802B94
secondary
#72B962
accent
#DE4966
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B94

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

Preview Lab → · Contrast checker → · Palette generator →

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