#7E208C#7E208C

#7E208C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.180 H 322.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7E208C
RGBrgb(126, 32, 140)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(10%, 77.1%, 0%, 45.1%)
CIE-LABlab(32.62, 53.57, -39.45)
CIE-LCHlch(32.62, 66.53, 323.63°)
OKLaboklab(44.27% 0.1418 -0.1103)
OKLCHoklch(44.27% 0.18 322.1)
XYZxyz(13.8538, 7.3629, 25.4973)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208C #2E8C20
analogous
#48208C #7E208C #8C2064
triadic
#7E208C #8C7E20 #208C7E
tetradic
#7E208C #8C4820 #2E8C20 #20648C
square
#7E208C #8C4820 #2E8C20 #20648C
split-complementary
#7E208C #648C20 #208C48
monochromatic
#240928 #51155A #7E208C #AB2BBE #C550D7

Accessibility & contrast

On white

8.49
#7E208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208C
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208C#FFFFFF#000000##FFFFFF
##7E208C1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#30508A
Tritanopia (blue-blind)
#7F3555
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e208c;
/* rgb */ color: rgb(126, 32, 140);
/* oklch */ color: oklch(44.3% 0.180 322.1);
Tailwind
colors: {
  custom: {
    50: '#a767ae',
    500: '#7e208c',
    950: '#000000',
  },
}
SCSS
$custom: #7e208c;
$custom-light: #a767ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208c",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 292.222,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44273,
    "c": 0.17965,
    "h": 322.1
  },
  "luminance": 0.07362
}

Semantic roles & 50–950 ramp

primary
#7E208C
secondary
#5CBA4E
accent
#E64257
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E208C

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

Preview Lab → · Contrast checker → · Palette generator →

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