#802999#802999

#802999 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.182 H 317.6°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#802999
RGBrgb(128, 41, 153)
HSLhsl(287, 58%, 38%)
HSVhsv(287, 73%, 60%)
CMYKcmyk(16.3%, 73.2%, 0%, 40%)
CIE-LABlab(34.95, 53.21, -43.65)
CIE-LCHlch(34.95, 68.83, 320.63°)
OKLaboklab(46.27% 0.1343 -0.1227)
OKLCHoklch(46.27% 0.182 317.6)
XYZxyz(15.4440, 8.4756, 30.9533)
Luminance0.0848 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802999 #429929
analogous
#482999 #802999 #99297A
triadic
#802999 #998029 #299980
tetradic
#802999 #994829 #429929 #297A99
square
#802999 #994829 #429929 #297A99
split-complementary
#802999 #7A9929 #299948
monochromatic
#2F0F38 #581C69 #802999 #A836C9 #BD66D6

Accessibility & contrast

On white

7.79
#802999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#802999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802999
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802999#FFFFFF#000000##FFFFFF
##8029991.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#2D5596
Tritanopia (blue-blind)
#7F405E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802999;
/* rgb */ color: rgb(128, 41, 153);
/* oklch */ color: oklch(46.3% 0.182 317.6);
Tailwind
colors: {
  custom: {
    50: '#a86bb8',
    500: '#802999',
    950: '#000000',
  },
}
SCSS
$custom: #802999;
$custom-light: #a86bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#802999",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 286.607,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.18188,
    "h": 317.6
  },
  "luminance": 0.08475
}

Semantic roles & 50–950 ramp

primary
#802999
secondary
#76BC62
accent
#E14769
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802999

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

Preview Lab → · Contrast checker → · Palette generator →

#802999 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva