#802A94#802A94

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

Color values

HEX#802A94
RGBrgb(128, 42, 148)
HSLhsl(289, 56%, 37%)
HSVhsv(289, 72%, 58%)
CMYKcmyk(13.5%, 71.6%, 0%, 42%)
CIE-LABlab(34.77, 51.81, -40.90)
CIE-LCHlch(34.77, 66.01, 321.71°)
OKLaboklab(46.04% 0.1337 -0.1146)
OKLCHoklch(46.04% 0.176 319.4)
XYZxyz(15.0747, 8.3840, 28.8355)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A94 #3E942A
analogous
#4B2A94 #802A94 #942A73
triadic
#802A94 #94802A #2A9480
tetradic
#802A94 #944B2A #3E942A #2A7394
square
#802A94 #944B2A #3E942A #2A7394
split-complementary
#802A94 #73942A #2A944B
monochromatic
#2E0F35 #571C64 #802A94 #A938C4 #BF65D3

Accessibility & contrast

On white

7.85
#802A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802A94
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802A94#FFFFFF#000000##FFFFFF
##802A941.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802a94;
/* rgb */ color: rgb(128, 42, 148);
/* oklch */ color: oklch(46.0% 0.176 319.4);
Tailwind
colors: {
  custom: {
    50: '#a86cb4',
    500: '#802a94',
    950: '#000000',
  },
}
SCSS
$custom: #802a94;
$custom-light: #a86cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#802a94",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 148
  },
  "hsl": {
    "h": 288.679,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46035,
    "c": 0.17606,
    "h": 319.4
  },
  "luminance": 0.08383
}

Semantic roles & 50–950 ramp

primary
#802A94
secondary
#71B960
accent
#DF4965
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802A94

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

Preview Lab → · Contrast checker → · Palette generator →

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