#7F208D#7F208D

#7F208D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.181 H 322.2°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7F208D
RGBrgb(127, 32, 141)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(9.9%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.85, 53.97, -39.69)
CIE-LCHlch(32.85, 66.99, 323.67°)
OKLaboklab(44.49% 0.1429 -0.111)
OKLCHoklch(44.49% 0.181 322.2)
XYZxyz(14.0761, 7.4689, 25.8944)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F208D #2E8D20
analogous
#49208D #7F208D #8D2065
triadic
#7F208D #8D7F20 #208D7F
tetradic
#7F208D #8D4920 #2E8D20 #20658D
square
#7F208D #8D4920 #2E8D20 #20658D
split-complementary
#7F208D #658D20 #208D49
monochromatic
#250929 #52155B #7F208D #AC2BBF #C650D7

Accessibility & contrast

On white

8.42
#7F208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7F208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F208D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F208D#FFFFFF#000000##FFFFFF
##7F208D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#813555
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7f208d;
/* rgb */ color: rgb(127, 32, 141);
/* oklch */ color: oklch(44.5% 0.181 322.2);
Tailwind
colors: {
  custom: {
    50: '#a867af',
    500: '#7f208d',
    950: '#000000',
  },
}
SCSS
$custom: #7f208d;
$custom-light: #a867af;
$custom-dark: #000000;
JSON
{
  "hex": "#7f208d",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 292.294,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.18094,
    "h": 322.2
  },
  "luminance": 0.07468
}

Semantic roles & 50–950 ramp

primary
#7F208D
secondary
#5CBA4E
accent
#E64257
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7F208D

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

Preview Lab → · Contrast checker → · Palette generator →

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