#802175#802175

#802175 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.3% C 0.161 H 333.1°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#802175
RGBrgb(128, 33, 117)
HSLhsl(307, 59%, 32%)
HSVhsv(307, 74%, 50%)
CMYKcmyk(0%, 74.2%, 8.6%, 49.8%)
CIE-LABlab(31.72, 49.63, -26.47)
CIE-LCHlch(31.72, 56.25, 331.93°)
OKLaboklab(43.26% 0.1433 -0.0726)
OKLCHoklch(43.26% 0.161 333.1)
XYZxyz(12.6569, 6.9623, 17.5034)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802175 #21802C
analogous
#5C2180 #802175 #802146
triadic
#802175 #758021 #217580
tetradic
#802175 #805C21 #21802C #214680
square
#802175 #805C21 #21802C #214680
split-complementary
#802175 #468021 #21805C
monochromatic
#1F081C #4F1449 #802175 #B12EA1 #D14BC1

Accessibility & contrast

On white

8.78
#802175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#802175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802175
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802175#FFFFFF#000000##FFFFFF
##8021751.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4277
Deuteranopia (green-blind)
#404F73
Tritanopia (blue-blind)
#862A48
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #802175;
/* rgb */ color: rgb(128, 33, 117);
/* oklch */ color: oklch(43.3% 0.161 333.1);
Tailwind
colors: {
  custom: {
    50: '#a8669d',
    500: '#802175',
    950: '#000000',
  },
}
SCSS
$custom: #802175;
$custom-light: #a8669d;
$custom-dark: #000000;
JSON
{
  "hex": "#802175",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 306.947,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.43258,
    "c": 0.16061,
    "h": 333.1
  },
  "luminance": 0.06961
}

Semantic roles & 50–950 ramp

primary
#802175
secondary
#4AB356
accent
#E25846
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802175

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

Preview Lab → · Contrast checker → · Palette generator →

#802175 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva