#802FA0#802FA0

#802FA0 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.181 H 314.7°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#802FA0
RGBrgb(128, 47, 160)
HSLhsl(283, 55%, 41%)
HSVhsv(283, 71%, 63%)
CMYKcmyk(20%, 70.6%, 0%, 37.3%)
CIE-LABlab(36.29, 52.18, -45.74)
CIE-LCHlch(36.29, 69.39, 318.76°)
OKLaboklab(47.37% 0.1273 -0.1288)
OKLCHoklch(47.37% 0.181 314.7)
XYZxyz(16.2627, 9.1608, 34.1624)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FA0 #4FA02F
analogous
#482FA0 #802FA0 #A02F87
triadic
#802FA0 #A0802F #2FA080
tetradic
#802FA0 #A0482F #4FA02F #2F87A0
square
#802FA0 #A0482F #4FA02F #2F87A0
split-complementary
#802FA0 #87A02F #2FA048
monochromatic
#341341 #5A2171 #802FA0 #A344C8 #BA73D6

Accessibility & contrast

On white

7.42
#802FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#802FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802FA0
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802FA0#FFFFFF#000000##FFFFFF
##802FA01.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#2A579D
Tritanopia (blue-blind)
#7D4664
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #802fa0;
/* rgb */ color: rgb(128, 47, 160);
/* oklch */ color: oklch(47.4% 0.181 314.7);
Tailwind
colors: {
  custom: {
    50: '#a86fbd',
    500: '#802fa0',
    950: '#000000',
  },
}
SCSS
$custom: #802fa0;
$custom-light: #a86fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#802fa0",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 283.009,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47373,
    "c": 0.18113,
    "h": 314.7
  },
  "luminance": 0.0916
}

Semantic roles & 50–950 ramp

primary
#802FA0
secondary
#84BE6D
accent
#DE4A74
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #802FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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