#802A93#802A93

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

Color values

HEX#802A93
RGBrgb(128, 42, 147)
HSLhsl(289, 56%, 37%)
HSVhsv(289, 71%, 58%)
CMYKcmyk(12.9%, 71.4%, 0%, 42.4%)
CIE-LABlab(34.71, 51.62, -40.39)
CIE-LCHlch(34.71, 65.54, 321.95°)
OKLaboklab(45.97% 0.1337 -0.1131)
OKLCHoklch(45.97% 0.175 319.8)
XYZxyz(14.9959, 8.3524, 28.4204)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A93 #3D932A
analogous
#4C2A93 #802A93 #932A72
triadic
#802A93 #93802A #2A9380
tetradic
#802A93 #934C2A #3D932A #2A7293
square
#802A93 #934C2A #3D932A #2A7293
split-complementary
#802A93 #72932A #2A934C
monochromatic
#2D0F34 #571C63 #802A93 #A938C3 #BF65D3

Accessibility & contrast

On white

7.86
#802A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#802A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802A93
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A93#FFFFFF#000000##FFFFFF
##802A931.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a93;
/* rgb */ color: rgb(128, 42, 147);
/* oklch */ color: oklch(46.0% 0.175 319.8);
Tailwind
colors: {
  custom: {
    50: '#a86cb3',
    500: '#802a93',
    950: '#000000',
  },
}
SCSS
$custom: #802a93;
$custom-light: #a86cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#802a93",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 289.143,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45969,
    "c": 0.17514,
    "h": 319.8
  },
  "luminance": 0.08352
}

Semantic roles & 50–950 ramp

primary
#802A93
secondary
#70B960
accent
#DF4964
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802A93

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

Preview Lab → · Contrast checker → · Palette generator →

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