#802CC0#802CC0

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

Color values

HEX#802CC0
RGBrgb(128, 44, 192)
HSLhsl(274, 63%, 46%)
HSVhsv(274, 77%, 75%)
CMYKcmyk(33.3%, 77.1%, 0%, 24.7%)
CIE-LABlab(38.19, 60.37, -61.69)
CIE-LCHlch(38.19, 86.32, 314.38°)
OKLaboklab(49.45% 0.1248 -0.1757)
OKLCHoklch(49.45% 0.215 305.4)
XYZxyz(19.3151, 10.1965, 50.8095)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CC0 #6CC02C
analogous
#362CC0 #802CC0 #C02CB6
triadic
#802CC0 #C0802C #2CC080
tetradic
#802CC0 #C0362C #6CC02C #2CB6C0
square
#802CC0 #C0362C #6CC02C #2CB6C0
split-complementary
#802CC0 #B6C02C #2CC036
monochromatic
#3E155C #5F218E #802CC0 #9E52D7 #BA84E3

Accessibility & contrast

On white

6.91
#802CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#802CC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #802CC0
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CC0#FFFFFF#000000##FFFFFF
##802CC01.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#745275
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #802cc0;
/* rgb */ color: rgb(128, 44, 192);
/* oklch */ color: oklch(49.5% 0.215 305.4);
Tailwind
colors: {
  custom: {
    50: '#ab6fd4',
    500: '#802cc0',
    950: '#000000',
  },
}
SCSS
$custom: #802cc0;
$custom-light: #ab6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#802cc0",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 274.054,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.21549,
    "h": 305.4
  },
  "luminance": 0.10196
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #802CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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