#802F90#802F90

#802F90 is a mid, vivid purple. Relative luminance 0.086; OKLCH L 46.3% C 0.166 H 320.6°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#802F90
RGBrgb(128, 47, 144)
HSLhsl(290, 51%, 37%)
HSVhsv(290, 67%, 56%)
CMYKcmyk(11.1%, 67.4%, 0%, 43.5%)
CIE-LABlab(35.27, 48.90, -37.65)
CIE-LCHlch(35.27, 61.71, 322.41°)
OKLaboklab(46.32% 0.1282 -0.1051)
OKLCHoklch(46.32% 0.166 320.6)
XYZxyz(14.9521, 8.6366, 27.2596)
Luminance0.0864 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802F90 #3F902F
analogous
#4F2F90 #802F90 #902F70
triadic
#802F90 #90802F #2F9080
tetradic
#802F90 #904F2F #3F902F #2F7090
square
#802F90 #904F2F #3F902F #2F7090
split-complementary
#802F90 #70902F #2F904F
monochromatic
#2E1134 #572062 #802F90 #A93EBE #BE6BCF

Accessibility & contrast

On white

7.70
#802F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#802F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802F90
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802F90#FFFFFF#000000##FFFFFF
##802F901.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114D93
Deuteranopia (green-blind)
#38568E
Tritanopia (blue-blind)
#81405B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802f90;
/* rgb */ color: rgb(128, 47, 144);
/* oklch */ color: oklch(46.3% 0.166 320.6);
Tailwind
colors: {
  custom: {
    50: '#a86eb1',
    500: '#802f90',
    950: '#000000',
  },
}
SCSS
$custom: #802f90;
$custom-light: #a86eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#802f90",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 290.103,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.46318,
    "c": 0.16577,
    "h": 320.6
  },
  "luminance": 0.08636
}

Semantic roles & 50–950 ramp

primary
#802F90
secondary
#72B665
accent
#DA4E65
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802F90

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

Preview Lab → · Contrast checker → · Palette generator →

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