#802293#802293

#802293 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.184 H 320.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#802293
RGBrgb(128, 34, 147)
HSLhsl(290, 62%, 35%)
HSVhsv(290, 77%, 58%)
CMYKcmyk(12.9%, 76.9%, 0%, 42.4%)
CIE-LABlab(33.65, 54.63, -42.09)
CIE-LCHlch(33.65, 68.96, 322.39°)
OKLaboklab(45.22% 0.1417 -0.118)
OKLCHoklch(45.22% 0.184 320.2)
XYZxyz(14.7399, 7.8406, 28.3351)
Luminance0.0784 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802293 #359322
analogous
#482293 #802293 #93226D
triadic
#802293 #938022 #229380
tetradic
#802293 #934822 #359322 #226D93
square
#802293 #934822 #359322 #226D93
split-complementary
#802293 #6D9322 #229348
monochromatic
#290B30 #551761 #802293 #AB2DC5 #C357D8

Accessibility & contrast

On white

8.18
#802293 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802293 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802293
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802293#FFFFFF#000000##FFFFFF
##8022931.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#2D5290
Tritanopia (blue-blind)
#803959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802293;
/* rgb */ color: rgb(128, 34, 147);
/* oklch */ color: oklch(45.2% 0.184 320.2);
Tailwind
colors: {
  custom: {
    50: '#a968b3',
    500: '#802293',
    950: '#000000',
  },
}
SCSS
$custom: #802293;
$custom-light: #a968b3;
$custom-dark: #000000;
JSON
{
  "hex": "#802293",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 289.912,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45216,
    "c": 0.1844,
    "h": 320.2
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#802293
secondary
#66BC55
accent
#E5425E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802293

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

Preview Lab → · Contrast checker → · Palette generator →

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