#7E208D#7E208D

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

Color values

HEX#7E208D
RGBrgb(126, 32, 141)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(10.6%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.68, 53.76, -39.96)
CIE-LCHlch(32.68, 66.98, 323.37°)
OKLaboklab(44.34% 0.1417 -0.1118)
OKLCHoklch(44.34% 0.181 321.7)
XYZxyz(13.9279, 7.3925, 25.8874)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208D #2F8D20
analogous
#48208D #7E208D #8D2066
triadic
#7E208D #8D7E20 #208D7E
tetradic
#7E208D #8D4820 #2F8D20 #20668D
square
#7E208D #8D4820 #2F8D20 #20668D
split-complementary
#7E208D #668D20 #208D48
monochromatic
#250929 #51155B #7E208D #AB2BBF #C550D7

Accessibility & contrast

On white

8.47
#7E208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208D
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208D#FFFFFF#000000##FFFFFF
##7E208D1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2F508B
Tritanopia (blue-blind)
#7F3655
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e208d;
/* rgb */ color: rgb(126, 32, 141);
/* oklch */ color: oklch(44.3% 0.181 321.7);
Tailwind
colors: {
  custom: {
    50: '#a767af',
    500: '#7e208d',
    950: '#000000',
  },
}
SCSS
$custom: #7e208d;
$custom-light: #a767af;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 291.743,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.18051,
    "h": 321.7
  },
  "luminance": 0.07392
}

Semantic roles & 50–950 ramp

primary
#7E208D
secondary
#5DBA4E
accent
#E64258
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E208D

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

Preview Lab → · Contrast checker → · Palette generator →

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