#802392#802392

#802392 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.182 H 320.5°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#802392
RGBrgb(128, 35, 146)
HSLhsl(290, 61%, 35%)
HSVhsv(290, 76%, 57%)
CMYKcmyk(12.3%, 76%, 0%, 42.7%)
CIE-LABlab(33.71, 54.09, -41.38)
CIE-LCHlch(33.71, 68.10, 322.58°)
OKLaboklab(45.24% 0.1409 -0.116)
OKLCHoklch(45.24% 0.182 320.5)
XYZxyz(14.6908, 7.8674, 27.9333)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802392 #359223
analogous
#482392 #802392 #92236C
triadic
#802392 #928023 #239280
tetradic
#802392 #924823 #359223 #236C92
square
#802392 #924823 #359223 #236C92
split-complementary
#802392 #6C9223 #239248
monochromatic
#290B2F #551761 #802392 #AB2FC3 #C358D7

Accessibility & contrast

On white

8.16
#802392 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#802392 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802392
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802392#FFFFFF#000000##FFFFFF
##8023921.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004995
Deuteranopia (green-blind)
#2F528F
Tritanopia (blue-blind)
#813959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802392;
/* rgb */ color: rgb(128, 35, 146);
/* oklch */ color: oklch(45.2% 0.182 320.5);
Tailwind
colors: {
  custom: {
    50: '#a868b2',
    500: '#802392',
    950: '#000000',
  },
}
SCSS
$custom: #802392;
$custom-light: #a868b2;
$custom-dark: #000000;
JSON
{
  "hex": "#802392",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 146
  },
  "hsl": {
    "h": 290.27,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45235,
    "c": 0.18246,
    "h": 320.5
  },
  "luminance": 0.07867
}

Semantic roles & 50–950 ramp

primary
#802392
secondary
#66BB55
accent
#E4435D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802392

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

Preview Lab → · Contrast checker → · Palette generator →

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