#802495#802495

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

Color values

HEX#802495
RGBrgb(128, 36, 149)
HSLhsl(289, 61%, 36%)
HSVhsv(289, 76%, 58%)
CMYKcmyk(14.1%, 75.8%, 0%, 41.6%)
CIE-LABlab(34.03, 54.31, -42.70)
CIE-LCHlch(34.03, 69.08, 321.82°)
OKLaboklab(45.53% 0.1396 -0.1198)
OKLCHoklch(45.53% 0.184 319.4)
XYZxyz(14.9571, 8.0216, 29.1884)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802495 #399524
analogous
#482495 #802495 #952472
triadic
#802495 #958024 #249580
tetradic
#802495 #954824 #399524 #247295
square
#802495 #954824 #399524 #247295
split-complementary
#802495 #729524 #249548
monochromatic
#2B0C32 #561864 #802495 #AA30C6 #C15CD8

Accessibility & contrast

On white

8.06
#802495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802495
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802495#FFFFFF#000000##FFFFFF
##8024951.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802495;
/* rgb */ color: rgb(128, 36, 149);
/* oklch */ color: oklch(45.5% 0.184 319.4);
Tailwind
colors: {
  custom: {
    50: '#a969b5',
    500: '#802495',
    950: '#000000',
  },
}
SCSS
$custom: #802495;
$custom-light: #a969b5;
$custom-dark: #000000;
JSON
{
  "hex": "#802495",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 288.85,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45527,
    "c": 0.184,
    "h": 319.4
  },
  "luminance": 0.08021
}

Semantic roles & 50–950 ramp

primary
#802495
secondary
#6BBC59
accent
#E44461
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802495

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

Preview Lab → · Contrast checker → · Palette generator →

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