#802AB0#802AB0

#802AB0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.202 H 310.0°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#802AB0
RGBrgb(128, 42, 176)
HSLhsl(279, 61%, 43%)
HSVhsv(279, 76%, 69%)
CMYKcmyk(27.3%, 76.1%, 0%, 31%)
CIE-LABlab(36.71, 57.62, -54.66)
CIE-LCHlch(36.71, 79.42, 316.51°)
OKLaboklab(48.02% 0.13 -0.155)
OKLCHoklch(48.02% 0.202 310)
XYZxyz(17.5650, 9.3801, 41.9511)
Luminance0.0938 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802AB0 #5AB02A
analogous
#3D2AB0 #802AB0 #B02A9D
triadic
#802AB0 #B0802A #2AB080
tetradic
#802AB0 #B03D2A #5AB02A #2A9DB0
square
#802AB0 #B03D2A #5AB02A #2A9DB0
split-complementary
#802AB0 #9DB02A #2AB03D
monochromatic
#38124D #5C1E7F #802AB0 #A045D3 #B976DE

Accessibility & contrast

On white

7.30
#802AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#802AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802AB0
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802AB0#FFFFFF#000000##FFFFFF
##802AB01.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B4
Deuteranopia (green-blind)
#0158AD
Tritanopia (blue-blind)
#794A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #802ab0;
/* rgb */ color: rgb(128, 42, 176);
/* oklch */ color: oklch(48.0% 0.202 310.0);
Tailwind
colors: {
  custom: {
    50: '#aa6dc8',
    500: '#802ab0',
    950: '#000000',
  },
}
SCSS
$custom: #802ab0;
$custom-light: #aa6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#802ab0",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 176
  },
  "hsl": {
    "h": 278.507,
    "s": 61.468,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48024,
    "c": 0.20228,
    "h": 310
  },
  "luminance": 0.0938
}

Semantic roles & 50–950 ramp

primary
#802AB0
secondary
#8FC670
accent
#E5437D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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