#802CB0#802CB0

#802CB0 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.200 H 309.8°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#802CB0
RGBrgb(128, 44, 176)
HSLhsl(278, 60%, 43%)
HSVhsv(278, 75%, 69%)
CMYKcmyk(27.3%, 75%, 0%, 31%)
CIE-LABlab(36.98, 56.84, -54.22)
CIE-LCHlch(36.98, 78.56, 316.35°)
OKLaboklab(48.22% 0.1281 -0.1537)
OKLCHoklch(48.22% 0.2 309.8)
XYZxyz(17.6377, 9.5255, 41.9753)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CB0 #5CB02C
analogous
#3E2CB0 #802CB0 #B02C9E
triadic
#802CB0 #B0802C #2CB080
tetradic
#802CB0 #B03E2C #5CB02C #2C9EB0
square
#802CB0 #B03E2C #5CB02C #2C9EB0
split-complementary
#802CB0 #9EB02C #2CB03E
monochromatic
#39144E #5C207F #802CB0 #9F48D1 #B979DD

Accessibility & contrast

On white

7.23
#802CB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#802CB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CB0
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CB0#FFFFFF#000000##FFFFFF
##802CB01.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0758AD
Tritanopia (blue-blind)
#794B6C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802cb0;
/* rgb */ color: rgb(128, 44, 176);
/* oklch */ color: oklch(48.2% 0.200 309.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ec8',
    500: '#802cb0',
    950: '#000000',
  },
}
SCSS
$custom: #802cb0;
$custom-light: #aa6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#802cb0",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 176
  },
  "hsl": {
    "h": 278.182,
    "s": 60,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48215,
    "c": 0.20012,
    "h": 309.8
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#802CB0
secondary
#91C672
accent
#E3457E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802CB0

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

Preview Lab → · Contrast checker → · Palette generator →

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