#802C90#802C90

#802C90 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.170 H 320.8°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#802C90
RGBrgb(128, 44, 144)
HSLhsl(290, 53%, 37%)
HSVhsv(290, 69%, 56%)
CMYKcmyk(11.1%, 69.4%, 0%, 43.5%)
CIE-LABlab(34.81, 50.20, -38.39)
CIE-LCHlch(34.81, 63.19, 322.59°)
OKLaboklab(45.99% 0.1316 -0.1073)
OKLCHoklch(45.99% 0.17 320.8)
XYZxyz(14.8362, 8.4049, 27.2210)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802C90 #3C902C
analogous
#4E2C90 #802C90 #902C6E
triadic
#802C90 #90802C #2C9080
tetradic
#802C90 #904E2C #3C902C #2C6E90
square
#802C90 #904E2C #3C902C #2C6E90
split-complementary
#802C90 #6E902C #2C904E
monochromatic
#2D0F32 #561E61 #802C90 #AA3ABF #BF66D0

Accessibility & contrast

On white

7.83
#802C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#802C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802C90
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802C90#FFFFFF#000000##FFFFFF
##802C901.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074C93
Deuteranopia (green-blind)
#36558E
Tritanopia (blue-blind)
#813E5A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #802c90;
/* rgb */ color: rgb(128, 44, 144);
/* oklch */ color: oklch(46.0% 0.170 320.8);
Tailwind
colors: {
  custom: {
    50: '#a86db1',
    500: '#802c90',
    950: '#000000',
  },
}
SCSS
$custom: #802c90;
$custom-light: #a86db1;
$custom-dark: #000000;
JSON
{
  "hex": "#802c90",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 290.4,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45985,
    "c": 0.16981,
    "h": 320.8
  },
  "luminance": 0.08404
}

Semantic roles & 50–950 ramp

primary
#802C90
secondary
#6FB761
accent
#DD4B62
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802C90

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

Preview Lab → · Contrast checker → · Palette generator →

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