#802CB6#802CB6

#802CB6 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.7% C 0.206 H 308.1°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#802CB6
RGBrgb(128, 44, 182)
HSLhsl(277, 61%, 44%)
HSVhsv(277, 76%, 71%)
CMYKcmyk(29.7%, 75.8%, 0%, 28.6%)
CIE-LABlab(37.42, 58.15, -57.06)
CIE-LCHlch(37.42, 81.47, 315.55°)
OKLaboklab(48.67% 0.127 -0.162)
OKLCHoklch(48.67% 0.206 308.1)
XYZxyz(18.2445, 9.7682, 45.1712)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CB6 #62B62C
analogous
#3B2CB6 #802CB6 #B62CA7
triadic
#802CB6 #B6802C #2CB680
tetradic
#802CB6 #B63B2C #62B62C #2CA7B6
square
#802CB6 #B63B2C #62B62C #2CA7B6
split-complementary
#802CB6 #A7B62C #2CB63B
monochromatic
#3B1453 #5D2085 #802CB6 #9E4CD4 #B97DE0

Accessibility & contrast

On white

7.11
#802CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#802CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CB6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CB6#FFFFFF#000000##FFFFFF
##802CB61.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#0059B3
Tritanopia (blue-blind)
#774E70
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802cb6;
/* rgb */ color: rgb(128, 44, 182);
/* oklch */ color: oklch(48.7% 0.206 308.1);
Tailwind
colors: {
  custom: {
    50: '#aa6ecd',
    500: '#802cb6',
    950: '#000000',
  },
}
SCSS
$custom: #802cb6;
$custom-light: #aa6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#802cb6",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 276.522,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.20588,
    "h": 308.1
  },
  "luminance": 0.09768
}

Semantic roles & 50–950 ramp

primary
#802CB6
secondary
#96C876
accent
#E44482
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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