#802EAC#802EAC

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

Color values

HEX#802EAC
RGBrgb(128, 46, 172)
HSLhsl(279, 58%, 43%)
HSVhsv(279, 73%, 67%)
CMYKcmyk(25.6%, 73.3%, 0%, 32.5%)
CIE-LABlab(36.97, 55.17, -51.85)
CIE-LCHlch(36.97, 75.71, 316.78°)
OKLaboklab(48.12% 0.1269 -0.1467)
OKLCHoklch(48.12% 0.194 310.9)
XYZxyz(17.3241, 9.5222, 39.9471)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802EAC #5AAC2E
analogous
#412EAC #802EAC #AC2E99
triadic
#802EAC #AC802E #2EAC80
tetradic
#802EAC #AC412E #5AAC2E #2E99AC
square
#802EAC #AC412E #5AAC2E #2E99AC
split-complementary
#802EAC #99AC2E #2EAC41
monochromatic
#38144B #5C217C #802EAC #A049CE #B979DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802EAC#FFFFFF#000000##FFFFFF
##802EAC1.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)
#0053B0
Deuteranopia (green-blind)
#1758A9
Tritanopia (blue-blind)
#7A4A6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802eac;
/* rgb */ color: rgb(128, 46, 172);
/* oklch */ color: oklch(48.1% 0.194 310.9);
Tailwind
colors: {
  custom: {
    50: '#a96fc5',
    500: '#802eac',
    950: '#000000',
  },
}
SCSS
$custom: #802eac;
$custom-light: #a96fc5;
$custom-dark: #000000;
JSON
{
  "hex": "#802eac",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 279.048,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48119,
    "c": 0.19399,
    "h": 310.9
  },
  "luminance": 0.09522
}

Semantic roles & 50–950 ramp

primary
#802EAC
secondary
#8FC372
accent
#E1477D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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