#802F94#802F94

#802F94 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.170 H 319.1°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#802F94
RGBrgb(128, 47, 148)
HSLhsl(288, 52%, 38%)
HSVhsv(288, 68%, 58%)
CMYKcmyk(13.5%, 68.2%, 0%, 42%)
CIE-LABlab(35.52, 49.70, -39.70)
CIE-LCHlch(35.52, 63.61, 321.38°)
OKLaboklab(46.57% 0.1281 -0.1111)
OKLCHoklch(46.57% 0.17 319.1)
XYZxyz(15.2632, 8.7610, 28.8983)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F94 #43942F
analogous
#4D2F94 #802F94 #942F75
triadic
#802F94 #94802F #2F9480
tetradic
#802F94 #944D2F #43942F #2F7594
square
#802F94 #944D2F #43942F #2F7594
split-complementary
#802F94 #75942F #2F944D
monochromatic
#301137 #582066 #802F94 #A83EC2 #BD6DD1

Accessibility & contrast

On white

7.63
#802F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802F94
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F94#FFFFFF#000000##FFFFFF
##802F941.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074E97
Deuteranopia (green-blind)
#365692
Tritanopia (blue-blind)
#80415D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #802f94;
/* rgb */ color: rgb(128, 47, 148);
/* oklch */ color: oklch(46.6% 0.170 319.1);
Tailwind
colors: {
  custom: {
    50: '#a86eb4',
    500: '#802f94',
    950: '#000000',
  },
}
SCSS
$custom: #802f94;
$custom-light: #a86eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#802f94",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 288.119,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.16958,
    "h": 319.1
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#802F94
secondary
#77B867
accent
#DB4D69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802F94

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

Preview Lab → · Contrast checker → · Palette generator →

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