#7C207E#7C207E

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

Color values

HEX#7C207E
RGBrgb(124, 32, 126)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 75%, 49%)
CMYKcmyk(1.6%, 74.6%, 0%, 50.6%)
CIE-LABlab(31.41, 50.57, -32.69)
CIE-LCHlch(31.41, 60.22, 327.12°)
OKLaboklab(43.06% 0.1401 -0.0907)
OKLCHoklch(43.06% 0.167 327.1)
XYZxyz(12.5944, 6.8253, 20.3887)
Luminance0.0682 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C207E #227E20
analogous
#4D207E #7C207E #7E2051
triadic
#7C207E #7E7C20 #207E7C
tetradic
#7C207E #7E4D20 #227E20 #20517E
square
#7C207E #7E4D20 #227E20 #20517E
split-complementary
#7C207E #517E20 #207E4D
monochromatic
#1C071C #4C144D #7C207E #AC2CAF #CE48D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C207E#FFFFFF#000000##FFFFFF
##7C207E1.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)
#0A4281
Deuteranopia (green-blind)
#384E7C
Tritanopia (blue-blind)
#802F4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c207e;
/* rgb */ color: rgb(124, 32, 126);
/* oklch */ color: oklch(43.1% 0.167 327.1);
Tailwind
colors: {
  custom: {
    50: '#a566a4',
    500: '#7c207e',
    950: '#000000',
  },
}
SCSS
$custom: #7c207e;
$custom-light: #a566a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c207e",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 126
  },
  "hsl": {
    "h": 298.723,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43062,
    "c": 0.16688,
    "h": 327.1
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C207E

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

Preview Lab → · Contrast checker → · Palette generator →

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