#802CC5#802CC5

#802CC5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.9% C 0.220 H 304.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#802CC5
RGBrgb(128, 44, 197)
HSLhsl(273, 63%, 47%)
HSVhsv(273, 78%, 77%)
CMYKcmyk(35%, 77.7%, 0%, 22.7%)
CIE-LABlab(38.59, 61.49, -63.97)
CIE-LCHlch(38.59, 88.74, 313.87°)
OKLaboklab(49.85% 0.1236 -0.1824)
OKLCHoklch(49.85% 0.22 304.1)
XYZxyz(19.8785, 10.4218, 53.7769)
Luminance0.1042 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CC5 #71C52C
analogous
#342CC5 #802CC5 #C52CBE
triadic
#802CC5 #C5802C #2CC580
tetradic
#802CC5 #C5342C #71C52C #2CBEC5
square
#802CC5 #C5342C #71C52C #2CBEC5
split-complementary
#802CC5 #BEC52C #2CC534
monochromatic
#3F1661 #5F2193 #802CC5 #9E55D9 #BA87E4

Accessibility & contrast

On white

6.81
#802CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#802CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802CC5
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CC5#FFFFFF#000000##FFFFFF
##802CC51.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#725478
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #802cc5;
/* rgb */ color: rgb(128, 44, 197);
/* oklch */ color: oklch(49.9% 0.220 304.1);
Tailwind
colors: {
  custom: {
    50: '#ab6fd8',
    500: '#802cc5',
    950: '#000000',
  },
}
SCSS
$custom: #802cc5;
$custom-light: #ab6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#802cc5",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 272.941,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49852,
    "c": 0.2203,
    "h": 304.1
  },
  "luminance": 0.10422
}

Semantic roles & 50–950 ramp

primary
#802CC5
secondary
#A3CE7F
accent
#E7418C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #802CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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