#802CB7#802CB7

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

Color values

HEX#802CB7
RGBrgb(128, 44, 183)
HSLhsl(276, 61%, 45%)
HSVhsv(276, 76%, 72%)
CMYKcmyk(30.1%, 76%, 0%, 28.2%)
CIE-LABlab(37.50, 58.37, -57.52)
CIE-LCHlch(37.50, 81.95, 315.42°)
OKLaboklab(48.75% 0.1268 -0.1634)
OKLCHoklch(48.75% 0.207 307.8)
XYZxyz(18.3482, 9.8097, 45.7174)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CB7 #63B72C
analogous
#3B2CB7 #802CB7 #B72CA9
triadic
#802CB7 #B7802C #2CB780
tetradic
#802CB7 #B73B2C #63B72C #2CA9B7
square
#802CB7 #B73B2C #63B72C #2CA9B7
split-complementary
#802CB7 #A9B72C #2CB73B
monochromatic
#3B1454 #5D2086 #802CB7 #9E4CD4 #B97EE0

Accessibility & contrast

On white

7.09
#802CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#802CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CB7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CB7#FFFFFF#000000##FFFFFF
##802CB71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #802cb7;
/* rgb */ color: rgb(128, 44, 183);
/* oklch */ color: oklch(48.7% 0.207 307.8);
Tailwind
colors: {
  custom: {
    50: '#aa6ecd',
    500: '#802cb7',
    950: '#000000',
  },
}
SCSS
$custom: #802cb7;
$custom-light: #aa6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#802cb7",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 276.259,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48747,
    "c": 0.20684,
    "h": 307.8
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#802CB7
secondary
#97C876
accent
#E44383
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #802CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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