#802295#802295

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

Color values

HEX#802295
RGBrgb(128, 34, 149)
HSLhsl(289, 63%, 36%)
HSVhsv(289, 77%, 58%)
CMYKcmyk(14.1%, 77.2%, 0%, 41.6%)
CIE-LABlab(33.78, 55.01, -43.10)
CIE-LCHlch(33.78, 69.88, 321.92°)
OKLaboklab(45.35% 0.1415 -0.121)
OKLCHoklch(45.35% 0.186 319.5)
XYZxyz(14.8982, 7.9039, 29.1688)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802295 #379522
analogous
#462295 #802295 #952270
triadic
#802295 #958022 #229580
tetradic
#802295 #954622 #379522 #227095
square
#802295 #954622 #379522 #227095
split-complementary
#802295 #709522 #229546
monochromatic
#2A0B31 #551763 #802295 #AB2DC7 #C258D9

Accessibility & contrast

On white

8.14
#802295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#802295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802295
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802295#FFFFFF#000000##FFFFFF
##8022951.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004998
Deuteranopia (green-blind)
#2B5392
Tritanopia (blue-blind)
#803A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802295;
/* rgb */ color: rgb(128, 34, 149);
/* oklch */ color: oklch(45.4% 0.186 319.5);
Tailwind
colors: {
  custom: {
    50: '#a968b5',
    500: '#802295',
    950: '#000000',
  },
}
SCSS
$custom: #802295;
$custom-light: #a968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802295",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 289.043,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45353,
    "c": 0.18615,
    "h": 319.5
  },
  "luminance": 0.07903
}

Semantic roles & 50–950 ramp

primary
#802295
secondary
#69BD56
accent
#E64260
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802295

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

Preview Lab → · Contrast checker → · Palette generator →

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