#802396#802396

#802396 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.186 H 319.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#802396
RGBrgb(128, 35, 150)
HSLhsl(289, 62%, 36%)
HSVhsv(289, 77%, 59%)
CMYKcmyk(14.7%, 76.7%, 0%, 41.2%)
CIE-LABlab(33.97, 54.86, -43.41)
CIE-LCHlch(33.97, 69.95, 321.65°)
OKLaboklab(45.51% 0.1405 -0.1219)
OKLCHoklch(45.51% 0.186 319)
XYZxyz(15.0074, 7.9940, 29.6007)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802396 #399623
analogous
#472396 #802396 #962373
triadic
#802396 #968023 #239680
tetradic
#802396 #964723 #399623 #237396
square
#802396 #964723 #399623 #237396
split-complementary
#802396 #739623 #239647
monochromatic
#2B0C33 #561764 #802396 #AA2FC8 #C15BD9

Accessibility & contrast

On white

8.08
#802396 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#802396 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802396
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802396#FFFFFF#000000##FFFFFF
##8023961.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A99
Deuteranopia (green-blind)
#2B5393
Tritanopia (blue-blind)
#803B5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802396;
/* rgb */ color: rgb(128, 35, 150);
/* oklch */ color: oklch(45.5% 0.186 319.0);
Tailwind
colors: {
  custom: {
    50: '#a969b5',
    500: '#802396',
    950: '#000000',
  },
}
SCSS
$custom: #802396;
$custom-light: #a969b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802396",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 288.522,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45508,
    "c": 0.18597,
    "h": 319
  },
  "luminance": 0.07993
}

Semantic roles & 50–950 ramp

primary
#802396
secondary
#6BBD58
accent
#E54362
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802396

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

Preview Lab → · Contrast checker → · Palette generator →

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