#802EAB#802EAB

#802EAB is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.193 H 311.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#802EAB
RGBrgb(128, 46, 171)
HSLhsl(279, 58%, 43%)
HSVhsv(279, 73%, 67%)
CMYKcmyk(25.1%, 73.1%, 0%, 32.9%)
CIE-LABlab(36.90, 54.95, -51.37)
CIE-LCHlch(36.90, 75.22, 316.93°)
OKLaboklab(48.05% 0.127 -0.1453)
OKLCHoklch(48.05% 0.193 311.2)
XYZxyz(17.2284, 9.4839, 39.4432)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EAB #59AB2E
analogous
#412EAB #802EAB #AB2E98
triadic
#802EAB #AB802E #2EAB80
tetradic
#802EAB #AB412E #59AB2E #2E98AB
square
#802EAB #AB412E #59AB2E #2E98AB
split-complementary
#802EAB #98AB2E #2EAB41
monochromatic
#38144B #5C217B #802EAB #A048CE #B979DB

Accessibility & contrast

On white

7.25
#802EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802EAB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802EAB#FFFFFF#000000##FFFFFF
##802EAB1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1958A8
Tritanopia (blue-blind)
#7A4A6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802eab;
/* rgb */ color: rgb(128, 46, 171);
/* oklch */ color: oklch(48.0% 0.193 311.2);
Tailwind
colors: {
  custom: {
    50: '#a96fc5',
    500: '#802eab',
    950: '#000000',
  },
}
SCSS
$custom: #802eab;
$custom-light: #a96fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#802eab",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 279.36,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48046,
    "c": 0.19302,
    "h": 311.2
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#802EAB
secondary
#8EC372
accent
#E1477C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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