#7F208F#7F208F

#7F208F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 321.4°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7F208F
RGBrgb(127, 32, 143)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 78%, 56%)
CMYKcmyk(11.2%, 77.6%, 0%, 43.9%)
CIE-LABlab(32.98, 54.34, -40.71)
CIE-LCHlch(32.98, 67.90, 323.16°)
OKLaboklab(44.63% 0.1427 -0.114)
OKLCHoklch(44.63% 0.183 321.4)
XYZxyz(14.2263, 7.5290, 26.6852)
Luminance0.0753 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F208F #308F20
analogous
#47208F #7F208F #8F2068
triadic
#7F208F #8F7F20 #208F7F
tetradic
#7F208F #8F4720 #308F20 #20688F
square
#7F208F #8F4720 #308F20 #20688F
split-complementary
#7F208F #688F20 #208F47
monochromatic
#260A2B #53155D #7F208F #AB2BC1 #C551D8

Accessibility & contrast

On white

8.38
#7F208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7F208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F208F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F208F#FFFFFF#000000##FFFFFF
##7F208F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2E518C
Tritanopia (blue-blind)
#803657
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7f208f;
/* rgb */ color: rgb(127, 32, 143);
/* oklch */ color: oklch(44.6% 0.183 321.4);
Tailwind
colors: {
  custom: {
    50: '#a867b0',
    500: '#7f208f',
    950: '#000000',
  },
}
SCSS
$custom: #7f208f;
$custom-light: #a867b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f208f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 291.351,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44626,
    "c": 0.18265,
    "h": 321.4
  },
  "luminance": 0.07528
}

Semantic roles & 50–950 ramp

primary
#7F208F
secondary
#5FBB4F
accent
#E64159
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F208F

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

Preview Lab → · Contrast checker → · Palette generator →

#7F208F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva