#802B93#802B93

#802B93 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.1% C 0.174 H 319.7°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#802B93
RGBrgb(128, 43, 147)
HSLhsl(289, 55%, 37%)
HSVhsv(289, 71%, 58%)
CMYKcmyk(12.9%, 70.7%, 0%, 42.4%)
CIE-LABlab(34.85, 51.21, -40.16)
CIE-LCHlch(34.85, 65.08, 321.89°)
OKLaboklab(46.07% 0.1326 -0.1124)
OKLCHoklch(46.07% 0.174 319.7)
XYZxyz(15.0318, 8.4243, 28.4324)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B93 #3E932B
analogous
#4C2B93 #802B93 #932B72
triadic
#802B93 #93802B #2B9380
tetradic
#802B93 #934C2B #3E932B #2B7293
square
#802B93 #934C2B #3E932B #2B7293
split-complementary
#802B93 #72932B #2B934C
monochromatic
#2E0F34 #571D64 #802B93 #A939C2 #BF66D2

Accessibility & contrast

On white

7.82
#802B93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#802B93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802B93
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B93#FFFFFF#000000##FFFFFF
##802B931.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#335591
Tritanopia (blue-blind)
#803E5C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802b93;
/* rgb */ color: rgb(128, 43, 147);
/* oklch */ color: oklch(46.1% 0.174 319.7);
Tailwind
colors: {
  custom: {
    50: '#a86cb3',
    500: '#802b93',
    950: '#000000',
  },
}
SCSS
$custom: #802b93;
$custom-light: #a86cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#802b93",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 147
  },
  "hsl": {
    "h": 289.038,
    "s": 54.737,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46073,
    "c": 0.17388,
    "h": 319.7
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#802B93
secondary
#71B961
accent
#DE4A65
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B93

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

Preview Lab → · Contrast checker → · Palette generator →

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