#7E208F#7E208F

#7E208F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.182 H 320.9°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7E208F
RGBrgb(126, 32, 143)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 78%, 56%)
CMYKcmyk(11.9%, 77.6%, 0%, 43.9%)
CIE-LABlab(32.82, 54.13, -40.98)
CIE-LCHlch(32.82, 67.90, 322.87°)
OKLaboklab(44.48% 0.1415 -0.1148)
OKLCHoklch(44.48% 0.182 320.9)
XYZxyz(14.0780, 7.4526, 26.6782)
Luminance0.0745 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208F #318F20
analogous
#47208F #7E208F #8F2069
triadic
#7E208F #8F7E20 #208F7E
tetradic
#7E208F #8F4720 #318F20 #20698F
square
#7E208F #8F4720 #318F20 #20698F
split-complementary
#7E208F #698F20 #208F47
monochromatic
#260A2B #52155D #7E208F #AA2BC1 #C351D8

Accessibility & contrast

On white

8.43
#7E208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208F
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208F#FFFFFF#000000##FFFFFF
##7E208F1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#7F3757
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e208f;
/* rgb */ color: rgb(126, 32, 143);
/* oklch */ color: oklch(44.5% 0.182 320.9);
Tailwind
colors: {
  custom: {
    50: '#a767b0',
    500: '#7e208f',
    950: '#000000',
  },
}
SCSS
$custom: #7e208f;
$custom-light: #a767b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 290.811,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44476,
    "c": 0.18222,
    "h": 320.9
  },
  "luminance": 0.07452
}

Semantic roles & 50–950 ramp

primary
#7E208F
secondary
#60BB4F
accent
#E6415B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E208F

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

Preview Lab → · Contrast checker → · Palette generator →

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