#7D207F#7D207F

#7D207F is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.168 H 327.1°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7D207F
RGBrgb(125, 32, 127)
HSLhsl(299, 60%, 31%)
HSVhsv(299, 75%, 50%)
CMYKcmyk(1.6%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.64, 50.98, -32.93)
CIE-LCHlch(31.64, 60.69, 327.14°)
OKLaboklab(43.28% 0.1412 -0.0914)
OKLCHoklch(43.28% 0.168 327.1)
XYZxyz(12.8045, 6.9262, 20.7370)
Luminance0.0693 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D207F #227F20
analogous
#4D207F #7D207F #7F2051
triadic
#7D207F #7F7D20 #207F7D
tetradic
#7D207F #7F4D20 #227F20 #20517F
square
#7D207F #7F4D20 #227F20 #20517F
split-complementary
#7D207F #517F20 #207F4D
monochromatic
#1D071D #4D144E #7D207F #AD2CB0 #CE48D1

Accessibility & contrast

On white

8.81
#7D207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D207F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D207F#FFFFFF#000000##FFFFFF
##7D207F1.008.812.398.81
#FFFFFF8.811.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4382
Deuteranopia (green-blind)
#384F7D
Tritanopia (blue-blind)
#812F4E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d207f;
/* rgb */ color: rgb(125, 32, 127);
/* oklch */ color: oklch(43.3% 0.168 327.1);
Tailwind
colors: {
  custom: {
    50: '#a666a4',
    500: '#7d207f',
    950: '#000000',
  },
}
SCSS
$custom: #7d207f;
$custom-light: #a666a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d207f",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 298.737,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.16821,
    "h": 327.1
  },
  "luminance": 0.06925
}

Semantic roles & 50–950 ramp

primary
#7D207F
secondary
#4BB249
accent
#E34548
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D207F

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

Preview Lab → · Contrast checker → · Palette generator →

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