#802393#802393

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

Color values

HEX#802393
RGBrgb(128, 35, 147)
HSLhsl(290, 62%, 36%)
HSVhsv(290, 76%, 58%)
CMYKcmyk(12.9%, 76.2%, 0%, 42.4%)
CIE-LABlab(33.77, 54.28, -41.89)
CIE-LCHlch(33.77, 68.56, 322.34°)
OKLaboklab(45.3% 0.1408 -0.1175)
OKLCHoklch(45.3% 0.183 320.2)
XYZxyz(14.7689, 7.8986, 28.3448)
Luminance0.0790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802393 #369323
analogous
#482393 #802393 #93236E
triadic
#802393 #938023 #239380
tetradic
#802393 #934823 #369323 #236E93
square
#802393 #934823 #369323 #236E93
split-complementary
#802393 #6E9323 #239348
monochromatic
#2A0B30 #551762 #802393 #AB2FC4 #C259D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802393#FFFFFF#000000##FFFFFF
##8023931.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)
#004996
Deuteranopia (green-blind)
#2E5390
Tritanopia (blue-blind)
#803A5A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802393;
/* rgb */ color: rgb(128, 35, 147);
/* oklch */ color: oklch(45.3% 0.183 320.2);
Tailwind
colors: {
  custom: {
    50: '#a868b3',
    500: '#802393',
    950: '#000000',
  },
}
SCSS
$custom: #802393;
$custom-light: #a868b3;
$custom-dark: #000000;
JSON
{
  "hex": "#802393",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 147
  },
  "hsl": {
    "h": 289.821,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45303,
    "c": 0.18334,
    "h": 320.2
  },
  "luminance": 0.07898
}

Semantic roles & 50–950 ramp

primary
#802393
secondary
#67BC56
accent
#E5435F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802393

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

Preview Lab → · Contrast checker → · Palette generator →

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