#802ABD#802ABD

#802ABD is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.215 H 306.3°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#802ABD
RGBrgb(128, 42, 189)
HSLhsl(275, 64%, 45%)
HSVhsv(275, 78%, 74%)
CMYKcmyk(32.3%, 77.8%, 0%, 25.9%)
CIE-LABlab(37.70, 60.45, -60.74)
CIE-LCHlch(37.70, 85.70, 314.87°)
OKLaboklab(49.03% 0.1272 -0.1728)
OKLCHoklch(49.03% 0.215 306.3)
XYZxyz(18.9133, 9.9194, 49.0525)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802ABD #67BD2A
analogous
#372ABD #802ABD #BD2AB0
triadic
#802ABD #BD802A #2ABD80
tetradic
#802ABD #BD372A #67BD2A #2AB0BD
square
#802ABD #BD372A #67BD2A #2AB0BD
split-complementary
#802ABD #B0BD2A #2ABD37
monochromatic
#3C1459 #5E1F8B #802ABD #9E4DD7 #B97FE3

Accessibility & contrast

On white

7.04
#802ABD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#802ABD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802ABD
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802ABD#FFFFFF#000000##FFFFFF
##802ABD1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0059BA
Tritanopia (blue-blind)
#755073
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #802abd;
/* rgb */ color: rgb(128, 42, 189);
/* oklch */ color: oklch(49.0% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab6ed2',
    500: '#802abd',
    950: '#000000',
  },
}
SCSS
$custom: #802abd;
$custom-light: #ab6ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#802abd",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 189
  },
  "hsl": {
    "h": 275.102,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.49031,
    "c": 0.21459,
    "h": 306.3
  },
  "luminance": 0.09919
}

Semantic roles & 50–950 ramp

primary
#802ABD
secondary
#9ACB78
accent
#E74186
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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