#802094#802094

#802094 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.187 H 319.9°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#802094
RGBrgb(128, 32, 148)
HSLhsl(290, 64%, 35%)
HSVhsv(290, 78%, 58%)
CMYKcmyk(13.5%, 78.4%, 0%, 42%)
CIE-LABlab(33.48, 55.49, -42.97)
CIE-LCHlch(33.48, 70.19, 322.25°)
OKLaboklab(45.12% 0.1434 -0.1206)
OKLCHoklch(45.12% 0.187 319.9)
XYZxyz(14.7632, 7.7611, 28.7316)
Luminance0.0776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802094 #349420
analogous
#462094 #802094 #94206E
triadic
#802094 #948020 #209480
tetradic
#802094 #944620 #349420 #206E94
square
#802094 #944620 #349420 #206E94
split-complementary
#802094 #6E9420 #209446
monochromatic
#290A2F #541562 #802094 #AC2BC6 #C354DA

Accessibility & contrast

On white

8.23
#802094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#802094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802094
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802094#FFFFFF#000000##FFFFFF
##8020941.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#2B5291
Tritanopia (blue-blind)
#803959
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #802094;
/* rgb */ color: rgb(128, 32, 148);
/* oklch */ color: oklch(45.1% 0.187 319.9);
Tailwind
colors: {
  custom: {
    50: '#a967b4',
    500: '#802094',
    950: '#000000',
  },
}
SCSS
$custom: #802094;
$custom-light: #a967b4;
$custom-dark: #000000;
JSON
{
  "hex": "#802094",
  "rgb": {
    "r": 128,
    "g": 32,
    "b": 148
  },
  "hsl": {
    "h": 289.655,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45118,
    "c": 0.18735,
    "h": 319.9
  },
  "luminance": 0.0776
}

Semantic roles & 50–950 ramp

primary
#802094
secondary
#65BE52
accent
#E7405D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #802094

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

Preview Lab → · Contrast checker → · Palette generator →

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