#802E94#802E94

#802E94 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.171 H 319.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#802E94
RGBrgb(128, 46, 148)
HSLhsl(288, 53%, 38%)
HSVhsv(288, 69%, 58%)
CMYKcmyk(13.5%, 68.9%, 0%, 42%)
CIE-LABlab(35.36, 50.14, -39.95)
CIE-LCHlch(35.36, 64.11, 321.45°)
OKLaboklab(46.46% 0.1292 -0.1118)
OKLCHoklch(46.46% 0.171 319.1)
XYZxyz(15.2237, 8.6820, 28.8851)
Luminance0.0868 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E94 #42942E
analogous
#4D2E94 #802E94 #942E75
triadic
#802E94 #94802E #2E9480
tetradic
#802E94 #944D2E #42942E #2E7594
square
#802E94 #944D2E #42942E #2E7594
split-complementary
#802E94 #75942E #2E944D
monochromatic
#2F1137 #581F65 #802E94 #A83DC3 #BD6BD1

Accessibility & contrast

On white

7.67
#802E94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#802E94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E94
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E94#FFFFFF#000000##FFFFFF
##802E941.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E97
Deuteranopia (green-blind)
#355692
Tritanopia (blue-blind)
#80415D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802e94;
/* rgb */ color: rgb(128, 46, 148);
/* oklch */ color: oklch(46.5% 0.171 319.1);
Tailwind
colors: {
  custom: {
    50: '#a86eb4',
    500: '#802e94',
    950: '#000000',
  },
}
SCSS
$custom: #802e94;
$custom-light: #a86eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#802e94",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 148
  },
  "hsl": {
    "h": 288.235,
    "s": 52.577,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46461,
    "c": 0.1709,
    "h": 319.1
  },
  "luminance": 0.08681
}

Semantic roles & 50–950 ramp

primary
#802E94
secondary
#76B866
accent
#DC4C68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802E94

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

Preview Lab → · Contrast checker → · Palette generator →

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