#802CC1#802CC1

#802CC1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.216 H 305.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#802CC1
RGBrgb(128, 44, 193)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 76%)
CMYKcmyk(33.7%, 77.2%, 0%, 24.3%)
CIE-LABlab(38.27, 60.60, -62.15)
CIE-LCHlch(38.27, 86.80, 314.27°)
OKLaboklab(49.53% 0.1246 -0.177)
OKLCHoklch(49.53% 0.216 305.1)
XYZxyz(19.4262, 10.2409, 51.3950)
Luminance0.1024 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CC1 #6DC12C
analogous
#362CC1 #802CC1 #C12CB8
triadic
#802CC1 #C1802C #2CC180
tetradic
#802CC1 #C1362C #6DC12C #2CB8C1
square
#802CC1 #C1362C #6DC12C #2CB8C1
split-complementary
#802CC1 #B8C12C #2CC136
monochromatic
#3E155D #5F218F #802CC1 #9E53D8 #BA84E3

Accessibility & contrast

On white

6.89
#802CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#802CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802CC1
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CC1#FFFFFF#000000##FFFFFF
##802CC11.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#745276
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #802cc1;
/* rgb */ color: rgb(128, 44, 193);
/* oklch */ color: oklch(49.5% 0.216 305.1);
Tailwind
colors: {
  custom: {
    50: '#ab6fd5',
    500: '#802cc1',
    950: '#000000',
  },
}
SCSS
$custom: #802cc1;
$custom-light: #ab6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#802cc1",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 273.826,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.21645,
    "h": 305.1
  },
  "luminance": 0.10241
}

Semantic roles & 50–950 ramp

primary
#802CC1
secondary
#9FCC7D
accent
#E64289
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #802CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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