#802CB3#802CB3

#802CB3 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.203 H 308.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#802CB3
RGBrgb(128, 44, 179)
HSLhsl(277, 61%, 44%)
HSVhsv(277, 75%, 70%)
CMYKcmyk(28.5%, 75.4%, 0%, 29.8%)
CIE-LABlab(37.20, 57.50, -55.64)
CIE-LCHlch(37.20, 80.01, 315.94°)
OKLaboklab(48.44% 0.1276 -0.1579)
OKLCHoklch(48.44% 0.203 308.9)
XYZxyz(17.9378, 9.6456, 43.5559)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802CB3 #5FB32C
analogous
#3C2CB3 #802CB3 #B32CA2
triadic
#802CB3 #B3802C #2CB380
tetradic
#802CB3 #B33C2C #5FB32C #2CA2B3
square
#802CB3 #B33C2C #5FB32C #2CA2B3
split-complementary
#802CB3 #A2B32C #2CB33C
monochromatic
#3A1451 #5D2082 #802CB3 #9F4AD2 #B97BDF

Accessibility & contrast

On white

7.17
#802CB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#802CB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802CB3
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802CB3#FFFFFF#000000##FFFFFF
##802CB31.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0059B0
Tritanopia (blue-blind)
#784C6E
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #802cb3;
/* rgb */ color: rgb(128, 44, 179);
/* oklch */ color: oklch(48.4% 0.203 308.9);
Tailwind
colors: {
  custom: {
    50: '#aa6ecb',
    500: '#802cb3',
    950: '#000000',
  },
}
SCSS
$custom: #802cb3;
$custom-light: #aa6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#802cb3",
  "rgb": {
    "r": 128,
    "g": 44,
    "b": 179
  },
  "hsl": {
    "h": 277.333,
    "s": 60.538,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48441,
    "c": 0.20299,
    "h": 308.9
  },
  "luminance": 0.09645
}

Semantic roles & 50–950 ramp

primary
#802CB3
secondary
#93C774
accent
#E44480
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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