#802387#802387

#802387 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.173 H 324.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#802387
RGBrgb(128, 35, 135)
HSLhsl(296, 59%, 33%)
HSVhsv(296, 74%, 53%)
CMYKcmyk(5.2%, 74.1%, 0%, 47.1%)
CIE-LABlab(33.01, 52.03, -35.71)
CIE-LCHlch(33.01, 63.11, 325.54°)
OKLaboklab(44.52% 0.1416 -0.0994)
OKLCHoklch(44.52% 0.173 324.9)
XYZxyz(13.8760, 7.5414, 23.6417)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802387 #2A8723
analogous
#4E2387 #802387 #87235C
triadic
#802387 #878023 #238780
tetradic
#802387 #874E23 #2A8723 #235C87
square
#802387 #874E23 #2A8723 #235C87
split-complementary
#802387 #5C8723 #23874E
monochromatic
#240A26 #521656 #802387 #AE30B8 #C952D2

Accessibility & contrast

On white

8.37
#802387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#802387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802387
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802387#FFFFFF#000000##FFFFFF
##8023871.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03468A
Deuteranopia (green-blind)
#375185
Tritanopia (blue-blind)
#833453
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #802387;
/* rgb */ color: rgb(128, 35, 135);
/* oklch */ color: oklch(44.5% 0.173 324.9);
Tailwind
colors: {
  custom: {
    50: '#a868aa',
    500: '#802387',
    950: '#000000',
  },
}
SCSS
$custom: #802387;
$custom-light: #a868aa;
$custom-dark: #000000;
JSON
{
  "hex": "#802387",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 295.8,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44516,
    "c": 0.17296,
    "h": 324.9
  },
  "luminance": 0.07541
}

Semantic roles & 50–950 ramp

primary
#802387
secondary
#57B650
accent
#E24651
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #802387

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

Preview Lab → · Contrast checker → · Palette generator →

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