#802FAA#802FAA

#802FAA is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 311.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#802FAA
RGBrgb(128, 47, 170)
HSLhsl(280, 57%, 43%)
HSVhsv(280, 72%, 67%)
CMYKcmyk(24.7%, 72.4%, 0%, 33.3%)
CIE-LABlab(36.98, 54.32, -50.65)
CIE-LCHlch(36.98, 74.27, 317.01°)
OKLaboklab(48.08% 0.1262 -0.1432)
OKLCHoklch(48.08% 0.191 311.4)
XYZxyz(17.1729, 9.5249, 38.9563)
Luminance0.0953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802FAA #59AA2F
analogous
#422FAA #802FAA #AA2F97
triadic
#802FAA #AA802F #2FAA80
tetradic
#802FAA #AA422F #59AA2F #2F97AA
square
#802FAA #AA422F #59AA2F #2F97AA
split-complementary
#802FAA #97AA2F #2FAA42
monochromatic
#38144A #5C227A #802FAA #A049CD #B979DA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##802FAA#FFFFFF#000000##FFFFFF
##802FAA1.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)
#0053AE
Deuteranopia (green-blind)
#1D58A7
Tritanopia (blue-blind)
#7B4A6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #802faa;
/* rgb */ color: rgb(128, 47, 170);
/* oklch */ color: oklch(48.1% 0.191 311.4);
Tailwind
colors: {
  custom: {
    50: '#a96fc4',
    500: '#802faa',
    950: '#000000',
  },
}
SCSS
$custom: #802faa;
$custom-light: #a96fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#802faa",
  "rgb": {
    "r": 128,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 279.512,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.19087,
    "h": 311.4
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#802FAA
secondary
#8EC272
accent
#E0487C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #802FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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