#802EAA#802EAA

#802EAA is a mid, vivid violet. Relative luminance 0.094; OKLCH L 48.0% C 0.192 H 311.5°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#802EAA
RGBrgb(128, 46, 170)
HSLhsl(280, 57%, 42%)
HSVhsv(280, 73%, 67%)
CMYKcmyk(24.7%, 72.9%, 0%, 33.3%)
CIE-LABlab(36.83, 54.74, -50.88)
CIE-LCHlch(36.83, 74.73, 317.09°)
OKLaboklab(47.97% 0.1272 -0.1439)
OKLCHoklch(47.97% 0.192 311.5)
XYZxyz(17.1334, 9.4459, 38.9431)
Luminance0.0945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EAA #58AA2E
analogous
#422EAA #802EAA #AA2E96
triadic
#802EAA #AA802E #2EAA80
tetradic
#802EAA #AA422E #58AA2E #2E96AA
square
#802EAA #AA422E #58AA2E #2E96AA
split-complementary
#802EAA #96AA2E #2EAA42
monochromatic
#37144A #5C217A #802EAA #A048CD #B978DA

Accessibility & contrast

On white

7.27
#802EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#802EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802EAA
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EAA#FFFFFF#000000##FFFFFF
##802EAA1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#7B4A69
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802eaa;
/* rgb */ color: rgb(128, 46, 170);
/* oklch */ color: oklch(48.0% 0.192 311.5);
Tailwind
colors: {
  custom: {
    50: '#a96fc4',
    500: '#802eaa',
    950: '#000000',
  },
}
SCSS
$custom: #802eaa;
$custom-light: #a96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#802eaa",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 279.677,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.19205,
    "h": 311.5
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#802EAA
secondary
#8DC371
accent
#E1477B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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