#802EAE#802EAE

#802EAE is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 310.2°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#802EAE
RGBrgb(128, 46, 174)
HSLhsl(278, 58%, 43%)
HSVhsv(278, 74%, 68%)
CMYKcmyk(26.4%, 73.6%, 0%, 31.8%)
CIE-LABlab(37.11, 55.60, -52.81)
CIE-LCHlch(37.11, 76.68, 316.48°)
OKLaboklab(48.27% 0.1266 -0.1496)
OKLCHoklch(48.27% 0.196 310.2)
XYZxyz(17.5176, 9.5996, 40.9663)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EAE #5CAE2E
analogous
#402EAE #802EAE #AE2E9C
triadic
#802EAE #AE802E #2EAE80
tetradic
#802EAE #AE402E #5CAE2E #2E9CAE
square
#802EAE #AE402E #5CAE2E #2E9CAE
split-complementary
#802EAE #9CAE2E #2EAE40
monochromatic
#39144D #5C217E #802EAE #9F4ACF #B97ADC

Accessibility & contrast

On white

7.19
#802EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#802EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802EAE
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EAE#FFFFFF#000000##FFFFFF
##802EAE1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#1359AB
Tritanopia (blue-blind)
#7A4B6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802eae;
/* rgb */ color: rgb(128, 46, 174);
/* oklch */ color: oklch(48.3% 0.196 310.2);
Tailwind
colors: {
  custom: {
    50: '#a96fc7',
    500: '#802eae',
    950: '#000000',
  },
}
SCSS
$custom: #802eae;
$custom-light: #a96fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#802eae",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 278.438,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.19594,
    "h": 310.2
  },
  "luminance": 0.09599
}

Semantic roles & 50–950 ramp

primary
#802EAE
secondary
#91C474
accent
#E1467E
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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