#802ABA#802ABA

#802ABA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.8% C 0.212 H 307.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#802ABA
RGBrgb(128, 42, 186)
HSLhsl(276, 63%, 45%)
HSVhsv(276, 77%, 73%)
CMYKcmyk(31.2%, 77.4%, 0%, 27.1%)
CIE-LABlab(37.46, 59.79, -59.35)
CIE-LCHlch(37.46, 84.25, 315.21°)
OKLaboklab(48.79% 0.1279 -0.1688)
OKLCHoklch(48.79% 0.212 307.2)
XYZxyz(18.5911, 9.7905, 47.3552)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802ABA #64BA2A
analogous
#382ABA #802ABA #BA2AAC
triadic
#802ABA #BA802A #2ABA80
tetradic
#802ABA #BA382A #64BA2A #2AACBA
square
#802ABA #BA382A #64BA2A #2AACBA
split-complementary
#802ABA #ACBA2A #2ABA38
monochromatic
#3B1356 #5E1F88 #802ABA #9E4BD6 #B97DE2

Accessibility & contrast

On white

7.10
#802ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#802ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802ABA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802ABA#FFFFFF#000000##FFFFFF
##802ABA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0059B7
Tritanopia (blue-blind)
#764E71
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802aba;
/* rgb */ color: rgb(128, 42, 186);
/* oklch */ color: oklch(48.8% 0.212 307.2);
Tailwind
colors: {
  custom: {
    50: '#aa6dd0',
    500: '#802aba',
    950: '#000000',
  },
}
SCSS
$custom: #802aba;
$custom-light: #aa6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#802aba",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 275.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.48794,
    "c": 0.21175,
    "h": 307.2
  },
  "luminance": 0.0979
}

Semantic roles & 50–950 ramp

primary
#802ABA
secondary
#98CA76
accent
#E64284
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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