#802F92#802F92

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

Color values

HEX#802F92
RGBrgb(128, 47, 146)
HSLhsl(289, 51%, 38%)
HSVhsv(289, 68%, 57%)
CMYKcmyk(12.3%, 67.8%, 0%, 42.7%)
CIE-LABlab(35.40, 49.30, -38.68)
CIE-LCHlch(35.40, 62.66, 321.89°)
OKLaboklab(46.44% 0.1281 -0.1081)
OKLCHoklch(46.44% 0.168 319.8)
XYZxyz(15.1063, 8.6983, 28.0718)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F92 #41922F
analogous
#4E2F92 #802F92 #922F72
triadic
#802F92 #92802F #2F9280
tetradic
#802F92 #924E2F #41922F #2F7292
square
#802F92 #924E2F #41922F #2F7292
split-complementary
#802F92 #72922F #2F924E
monochromatic
#2F1135 #572064 #802F92 #A93EC0 #BD6CD0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802F92#FFFFFF#000000##FFFFFF
##802F921.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)
#0D4E95
Deuteranopia (green-blind)
#375690
Tritanopia (blue-blind)
#80405C
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802f92;
/* rgb */ color: rgb(128, 47, 146);
/* oklch */ color: oklch(46.4% 0.168 319.8);
Tailwind
colors: {
  custom: {
    50: '#a86eb2',
    500: '#802f92',
    950: '#000000',
  },
}
SCSS
$custom: #802f92;
$custom-light: #a86eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#802f92",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 289.091,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46444,
    "c": 0.16767,
    "h": 319.8
  },
  "luminance": 0.08698
}

Semantic roles & 50–950 ramp

primary
#802F92
secondary
#75B766
accent
#DB4D67
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802F92

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

Preview Lab → · Contrast checker → · Palette generator →

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