#802296#802296

#802296 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.187 H 319.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#802296
RGBrgb(128, 34, 150)
HSLhsl(289, 63%, 36%)
HSVhsv(289, 77%, 59%)
CMYKcmyk(14.7%, 77.3%, 0%, 41.2%)
CIE-LABlab(33.85, 55.20, -43.60)
CIE-LCHlch(33.85, 70.35, 321.70°)
OKLaboklab(45.42% 0.1414 -0.1225)
OKLCHoklch(45.42% 0.187 319.1)
XYZxyz(14.9784, 7.9360, 29.5911)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802296 #389622
analogous
#462296 #802296 #962272
triadic
#802296 #968022 #229680
tetradic
#802296 #964622 #389622 #227296
square
#802296 #964622 #389622 #227296
split-complementary
#802296 #729622 #229646
monochromatic
#2B0B32 #551764 #802296 #AB2DC8 #C159D9

Accessibility & contrast

On white

8.12
#802296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#802296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802296
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802296#FFFFFF#000000##FFFFFF
##8022961.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802296;
/* rgb */ color: rgb(128, 34, 150);
/* oklch */ color: oklch(45.4% 0.187 319.1);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#802296',
    950: '#000000',
  },
}
SCSS
$custom: #802296;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802296",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 288.621,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.45422,
    "c": 0.18703,
    "h": 319.1
  },
  "luminance": 0.07935
}

Semantic roles & 50–950 ramp

primary
#802296
secondary
#6ABE56
accent
#E64261
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802296

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

Preview Lab → · Contrast checker → · Palette generator →

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