#7F207F#7F207F

#7F207F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.6% C 0.169 H 328.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#7F207F
RGBrgb(127, 32, 127)
HSLhsl(300, 60%, 31%)
HSVhsv(300, 75%, 50%)
CMYKcmyk(0%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.98, 51.44, -32.36)
CIE-LCHlch(31.98, 60.77, 327.82°)
OKLaboklab(43.6% 0.1435 -0.0897)
OKLCHoklch(43.6% 0.169 328)
XYZxyz(13.0995, 7.0783, 20.7509)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F207F #207F20
analogous
#4F207F #7F207F #7F204F
triadic
#7F207F #7F7F20 #207F7F
tetradic
#7F207F #7F4F20 #207F20 #204F7F
square
#7F207F #7F4F20 #207F20 #204F7F
split-complementary
#7F207F #4F7F20 #207F4F
monochromatic
#1D071D #4E144E #7F207F #B02CB0 #D148D1

Accessibility & contrast

On white

8.69
#7F207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7F207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F207F
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F207F#FFFFFF#000000##FFFFFF
##7F207F1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4382
Deuteranopia (green-blind)
#3A507D
Tritanopia (blue-blind)
#832F4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7f207f;
/* rgb */ color: rgb(127, 32, 127);
/* oklch */ color: oklch(43.6% 0.169 328.0);
Tailwind
colors: {
  custom: {
    50: '#a766a4',
    500: '#7f207f',
    950: '#000000',
  },
}
SCSS
$custom: #7f207f;
$custom-light: #a766a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f207f",
  "rgb": {
    "r": 127,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 300,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43595,
    "c": 0.16922,
    "h": 328
  },
  "luminance": 0.07077
}

Semantic roles & 50–950 ramp

primary
#7F207F
secondary
#49B249
accent
#E34545
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7F207F

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

Preview Lab → · Contrast checker → · Palette generator →

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