#802E95#802E95

#802E95 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.5% C 0.172 H 318.7°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#802E95
RGBrgb(128, 46, 149)
HSLhsl(288, 53%, 38%)
HSVhsv(288, 69%, 58%)
CMYKcmyk(14.1%, 69.1%, 0%, 41.6%)
CIE-LABlab(35.43, 50.34, -40.46)
CIE-LCHlch(35.43, 64.58, 321.21°)
OKLaboklab(46.53% 0.1292 -0.1133)
OKLCHoklch(46.53% 0.172 318.7)
XYZxyz(15.3032, 8.7138, 29.3038)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802E95 #43952E
analogous
#4C2E95 #802E95 #952E76
triadic
#802E95 #95802E #2E9580
tetradic
#802E95 #954C2E #43952E #2E7695
square
#802E95 #954C2E #43952E #2E7695
split-complementary
#802E95 #76952E #2E954C
monochromatic
#301137 #582066 #802E95 #A83DC3 #BD6CD2

Accessibility & contrast

On white

7.66
#802E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#802E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802E95
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802E95#FFFFFF#000000##FFFFFF
##802E951.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#345693
Tritanopia (blue-blind)
#80415E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #802e95;
/* rgb */ color: rgb(128, 46, 149);
/* oklch */ color: oklch(46.5% 0.172 318.7);
Tailwind
colors: {
  custom: {
    50: '#a86eb5',
    500: '#802e95',
    950: '#000000',
  },
}
SCSS
$custom: #802e95;
$custom-light: #a86eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#802e95",
  "rgb": {
    "r": 128,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 287.767,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46526,
    "c": 0.17186,
    "h": 318.7
  },
  "luminance": 0.08713
}

Semantic roles & 50–950 ramp

primary
#802E95
secondary
#77B966
accent
#DC4C69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #802E95

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

Preview Lab → · Contrast checker → · Palette generator →

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