#802F93#802F93

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

Color values

HEX#802F93
RGBrgb(128, 47, 147)
HSLhsl(289, 52%, 38%)
HSVhsv(289, 68%, 58%)
CMYKcmyk(12.9%, 68%, 0%, 42.4%)
CIE-LABlab(35.46, 49.50, -39.19)
CIE-LCHlch(35.46, 63.14, 321.63°)
OKLaboklab(46.51% 0.1281 -0.1096)
OKLCHoklch(46.51% 0.169 319.4)
XYZxyz(15.1844, 8.7295, 28.4832)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F93 #42932F
analogous
#4E2F93 #802F93 #932F74
triadic
#802F93 #93802F #2F9380
tetradic
#802F93 #934E2F #42932F #2F7493
square
#802F93 #934E2F #42932F #2F7493
split-complementary
#802F93 #74932F #2F934E
monochromatic
#2F1136 #582065 #802F93 #A83EC1 #BD6CD0

Accessibility & contrast

On white

7.65
#802F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#802F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F93
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F93#FFFFFF#000000##FFFFFF
##802F931.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4E96
Deuteranopia (green-blind)
#365691
Tritanopia (blue-blind)
#80415D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802f93;
/* rgb */ color: rgb(128, 47, 147);
/* oklch */ color: oklch(46.5% 0.169 319.4);
Tailwind
colors: {
  custom: {
    50: '#a86eb3',
    500: '#802f93',
    950: '#000000',
  },
}
SCSS
$custom: #802f93;
$custom-light: #a86eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#802f93",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 288.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.16862,
    "h": 319.4
  },
  "luminance": 0.08729
}

Semantic roles & 50–950 ramp

primary
#802F93
secondary
#76B766
accent
#DB4D68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802F93

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

Preview Lab → · Contrast checker → · Palette generator →

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