#802BAE#802BAE

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

Color values

HEX#802BAE
RGBrgb(128, 43, 174)
HSLhsl(279, 60%, 43%)
HSVhsv(279, 75%, 68%)
CMYKcmyk(26.4%, 75.3%, 0%, 31.8%)
CIE-LABlab(36.69, 56.80, -53.49)
CIE-LCHlch(36.69, 78.02, 316.72°)
OKLaboklab(47.97% 0.1294 -0.1515)
OKLCHoklch(47.97% 0.199 310.5)
XYZxyz(17.4045, 9.3733, 40.9286)
Luminance0.0937 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BAE #59AE2B
analogous
#3E2BAE #802BAE #AE2B9B
triadic
#802BAE #AE802B #2BAE80
tetradic
#802BAE #AE3E2B #59AE2B #2B9BAE
square
#802BAE #AE3E2B #59AE2B #2B9BAE
split-complementary
#802BAE #9BAE2B #2BAE3E
monochromatic
#38134C #5C1F7D #802BAE #A045D1 #B976DD

Accessibility & contrast

On white

7.31
#802BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#802BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802BAE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BAE#FFFFFF#000000##FFFFFF
##802BAE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0C58AB
Tritanopia (blue-blind)
#7A4A6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #802bae;
/* rgb */ color: rgb(128, 43, 174);
/* oklch */ color: oklch(48.0% 0.199 310.5);
Tailwind
colors: {
  custom: {
    50: '#a96dc7',
    500: '#802bae',
    950: '#000000',
  },
}
SCSS
$custom: #802bae;
$custom-light: #a96dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#802bae",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 278.931,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.47968,
    "c": 0.1993,
    "h": 310.5
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#802BAE
secondary
#8EC570
accent
#E4447C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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