#802493#802493

#802493 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.182 H 320.1°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#802493
RGBrgb(128, 36, 147)
HSLhsl(290, 61%, 36%)
HSVhsv(290, 76%, 58%)
CMYKcmyk(12.9%, 75.5%, 0%, 42.4%)
CIE-LABlab(33.90, 53.92, -41.69)
CIE-LCHlch(33.90, 68.16, 322.29°)
OKLaboklab(45.39% 0.1398 -0.1169)
OKLCHoklch(45.39% 0.182 320.1)
XYZxyz(14.7988, 7.9583, 28.3547)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802493 #379324
analogous
#482493 #802493 #93246E
triadic
#802493 #938024 #249380
tetradic
#802493 #934824 #379324 #246E93
square
#802493 #934824 #379324 #246E93
split-complementary
#802493 #6E9324 #249348
monochromatic
#2A0C31 #551862 #802493 #AB30C4 #C25BD7

Accessibility & contrast

On white

8.10
#802493 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#802493 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802493
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802493#FFFFFF#000000##FFFFFF
##8024931.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004996
Deuteranopia (green-blind)
#2F5390
Tritanopia (blue-blind)
#803A5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #802493;
/* rgb */ color: rgb(128, 36, 147);
/* oklch */ color: oklch(45.4% 0.182 320.1);
Tailwind
colors: {
  custom: {
    50: '#a869b3',
    500: '#802493',
    950: '#000000',
  },
}
SCSS
$custom: #802493;
$custom-light: #a869b3;
$custom-dark: #000000;
JSON
{
  "hex": "#802493",
  "rgb": {
    "r": 128,
    "g": 36,
    "b": 147
  },
  "hsl": {
    "h": 289.73,
    "s": 60.656,
    "l": 35.882
  },
  "oklch": {
    "l": 0.45391,
    "c": 0.18224,
    "h": 320.1
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#802493
secondary
#69BB57
accent
#E4445F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802493

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

Preview Lab → · Contrast checker → · Palette generator →

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