#7D207B#7D207B

#7D207B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.165 H 328.9°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7D207B
RGBrgb(125, 32, 123)
HSLhsl(301, 59%, 31%)
HSVhsv(301, 74%, 49%)
CMYKcmyk(0%, 74.4%, 1.6%, 51%)
CIE-LABlab(31.40, 50.28, -30.80)
CIE-LCHlch(31.40, 58.96, 328.51°)
OKLaboklab(43.04% 0.1412 -0.0852)
OKLCHoklch(43.04% 0.165 328.9)
XYZxyz(12.5490, 6.8240, 19.3913)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D207B #207D22
analogous
#50207D #7D207B #7D204C
triadic
#7D207B #7B7D20 #207B7D
tetradic
#7D207B #7D5020 #207D22 #204C7D
square
#7D207B #7D5020 #207D22 #204C7D
split-complementary
#7D207B #4C7D20 #207D50
monochromatic
#1C071B #4C144B #7D207B #AE2CAB #D047CD

Accessibility & contrast

On white

8.88
#7D207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7D207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D207B
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D207B#FFFFFF#000000##FFFFFF
##7D207B1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12427E
Deuteranopia (green-blind)
#3A4E79
Tritanopia (blue-blind)
#812D4B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d207b;
/* rgb */ color: rgb(125, 32, 123);
/* oklch */ color: oklch(43.0% 0.165 328.9);
Tailwind
colors: {
  custom: {
    50: '#a666a1',
    500: '#7d207b',
    950: '#000000',
  },
}
SCSS
$custom: #7d207b;
$custom-light: #a666a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d207b",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 301.29,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43036,
    "c": 0.16492,
    "h": 328.9
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#7D207B
secondary
#49B04B
accent
#E24945
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7D207B

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

Preview Lab → · Contrast checker → · Palette generator →

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