#802B92#802B92

#802B92 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.173 H 320.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#802B92
RGBrgb(128, 43, 146)
HSLhsl(290, 54%, 37%)
HSVhsv(290, 71%, 57%)
CMYKcmyk(12.3%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.79, 51.01, -39.65)
CIE-LCHlch(34.79, 64.60, 322.14°)
OKLaboklab(46.01% 0.1327 -0.1109)
OKLCHoklch(46.01% 0.173 320.1)
XYZxyz(14.9536, 8.3930, 28.0209)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802B92 #3D922B
analogous
#4D2B92 #802B92 #922B70
triadic
#802B92 #92802B #2B9280
tetradic
#802B92 #924D2B #3D922B #2B7092
square
#802B92 #924D2B #3D922B #2B7092
split-complementary
#802B92 #70922B #2B924D
monochromatic
#2D0F33 #571D63 #802B92 #A939C1 #BF66D2

Accessibility & contrast

On white

7.84
#802B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802B92
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802B92#FFFFFF#000000##FFFFFF
##802B921.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#813E5B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802b92;
/* rgb */ color: rgb(128, 43, 146);
/* oklch */ color: oklch(46.0% 0.173 320.1);
Tailwind
colors: {
  custom: {
    50: '#a86cb2',
    500: '#802b92',
    950: '#000000',
  },
}
SCSS
$custom: #802b92;
$custom-light: #a86cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802b92",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 289.515,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.17295,
    "h": 320.1
  },
  "luminance": 0.08392
}

Semantic roles & 50–950 ramp

primary
#802B92
secondary
#70B861
accent
#DE4A64
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802B92

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

Preview Lab → · Contrast checker → · Palette generator →

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