#802BAD#802BAD

#802BAD is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.9% C 0.198 H 310.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#802BAD
RGBrgb(128, 43, 173)
HSLhsl(279, 60%, 42%)
HSVhsv(279, 75%, 68%)
CMYKcmyk(26%, 75.1%, 0%, 32.2%)
CIE-LABlab(36.62, 56.59, -53.01)
CIE-LCHlch(36.62, 77.54, 316.87°)
OKLaboklab(47.89% 0.1296 -0.1501)
OKLCHoklch(47.89% 0.198 310.8)
XYZxyz(17.3073, 9.3345, 40.4171)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802BAD #58AD2B
analogous
#3F2BAD #802BAD #AD2B99
triadic
#802BAD #AD802B #2BAD80
tetradic
#802BAD #AD3F2B #58AD2B #2B99AD
square
#802BAD #AD3F2B #58AD2B #2B99AD
split-complementary
#802BAD #99AD2B #2BAD3F
monochromatic
#37134B #5C1F7C #802BAD #A045D1 #B976DD

Accessibility & contrast

On white

7.33
#802BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#802BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802BAD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802BAD#FFFFFF#000000##FFFFFF
##802BAD1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B1
Deuteranopia (green-blind)
#0F58AA
Tritanopia (blue-blind)
#7A496A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #802bad;
/* rgb */ color: rgb(128, 43, 173);
/* oklch */ color: oklch(47.9% 0.198 310.8);
Tailwind
colors: {
  custom: {
    50: '#a96dc6',
    500: '#802bad',
    950: '#000000',
  },
}
SCSS
$custom: #802bad;
$custom-light: #a96dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#802bad",
  "rgb": {
    "r": 128,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 279.231,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47894,
    "c": 0.19835,
    "h": 310.8
  },
  "luminance": 0.09334
}

Semantic roles & 50–950 ramp

primary
#802BAD
secondary
#8DC46F
accent
#E3447B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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