#7C207F#7C207F

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

Color values

HEX#7C207F
RGBrgb(124, 32, 127)
HSLhsl(298, 60%, 31%)
HSVhsv(298, 75%, 50%)
CMYKcmyk(2.4%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.47, 50.75, -33.22)
CIE-LCHlch(31.47, 60.65, 326.79°)
OKLaboklab(43.12% 0.1401 -0.0922)
OKLCHoklch(43.12% 0.168 326.6)
XYZxyz(12.6592, 6.8513, 20.7302)
Luminance0.0685 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C207F #237F20
analogous
#4C207F #7C207F #7F2052
triadic
#7C207F #7F7C20 #207F7C
tetradic
#7C207F #7F4C20 #237F20 #20527F
square
#7C207F #7F4C20 #237F20 #20527F
split-complementary
#7C207F #527F20 #207F4C
monochromatic
#1D071D #4C144E #7C207F #AC2CB0 #CD48D1

Accessibility & contrast

On white

8.86
#7C207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#7C207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C207F
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C207F#FFFFFF#000000##FFFFFF
##7C207F1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084382
Deuteranopia (green-blind)
#374E7D
Tritanopia (blue-blind)
#7F2F4E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c207f;
/* rgb */ color: rgb(124, 32, 127);
/* oklch */ color: oklch(43.1% 0.168 326.6);
Tailwind
colors: {
  custom: {
    50: '#a566a4',
    500: '#7c207f',
    950: '#000000',
  },
}
SCSS
$custom: #7c207f;
$custom-light: #a566a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c207f",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 298.105,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43124,
    "c": 0.16771,
    "h": 326.6
  },
  "luminance": 0.0685
}

Semantic roles & 50–950 ramp

primary
#7C207F
secondary
#4CB249
accent
#E3454A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C207F

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

Preview Lab → · Contrast checker → · Palette generator →

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