#802DAE#802DAE

#802DAE is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.2% C 0.197 H 310.3°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#802DAE
RGBrgb(128, 45, 174)
HSLhsl(279, 59%, 43%)
HSVhsv(279, 74%, 68%)
CMYKcmyk(26.4%, 74.1%, 0%, 31.8%)
CIE-LABlab(36.97, 56.01, -53.04)
CIE-LCHlch(36.97, 77.14, 316.56°)
OKLaboklab(48.17% 0.1276 -0.1502)
OKLCHoklch(48.17% 0.197 310.3)
XYZxyz(17.4790, 9.5223, 40.9534)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802DAE #5BAE2D
analogous
#402DAE #802DAE #AE2D9B
triadic
#802DAE #AE802D #2DAE80
tetradic
#802DAE #AE402D #5BAE2D #2D9BAE
square
#802DAE #AE402D #5BAE2D #2D9BAE
split-complementary
#802DAE #9BAE2D #2DAE40
monochromatic
#38144D #5C207D #802DAE #A048D0 #B979DC

Accessibility & contrast

On white

7.23
#802DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#802DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802DAE
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802DAE#FFFFFF#000000##FFFFFF
##802DAE1.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#1058AB
Tritanopia (blue-blind)
#7A4B6B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802dae;
/* rgb */ color: rgb(128, 45, 174);
/* oklch */ color: oklch(48.2% 0.197 310.3);
Tailwind
colors: {
  custom: {
    50: '#a96ec7',
    500: '#802dae',
    950: '#000000',
  },
}
SCSS
$custom: #802dae;
$custom-light: #a96ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#802dae",
  "rgb": {
    "r": 128,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 278.605,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48165,
    "c": 0.19708,
    "h": 310.3
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#802DAE
secondary
#90C472
accent
#E2467D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802DAE

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

Preview Lab → · Contrast checker → · Palette generator →

#802DAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva