#7E207D#7E207D

#7E207D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.167 H 328.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7E207D
RGBrgb(126, 32, 125)
HSLhsl(301, 59%, 31%)
HSVhsv(301, 75%, 49%)
CMYKcmyk(0%, 74.6%, 0.8%, 50.6%)
CIE-LABlab(31.69, 50.86, -31.58)
CIE-LCHlch(31.69, 59.87, 328.16°)
OKLaboklab(43.32% 0.1424 -0.0874)
OKLCHoklch(43.32% 0.167 328.5)
XYZxyz(12.8222, 6.9503, 20.0643)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E207D #207E21
analogous
#50207E #7E207D #7E204E
triadic
#7E207D #7D7E20 #207D7E
tetradic
#7E207D #7E5020 #207E21 #204E7E
square
#7E207D #7E5020 #207E21 #204E7E
split-complementary
#7E207D #4E7E20 #207E50
monochromatic
#1C071C #4D144D #7E207D #AF2CAD #D048CF

Accessibility & contrast

On white

8.79
#7E207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7E207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E207D
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E207D#FFFFFF#000000##FFFFFF
##7E207D1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#3A4F7B
Tritanopia (blue-blind)
#822E4D
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e207d;
/* rgb */ color: rgb(126, 32, 125);
/* oklch */ color: oklch(43.3% 0.167 328.5);
Tailwind
colors: {
  custom: {
    50: '#a766a3',
    500: '#7e207d',
    950: '#000000',
  },
}
SCSS
$custom: #7e207d;
$custom-light: #a766a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7e207d",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 300.638,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.43316,
    "c": 0.16708,
    "h": 328.5
  },
  "luminance": 0.06949
}

Semantic roles & 50–950 ramp

primary
#7E207D
secondary
#49B14A
accent
#E34745
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E207D

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

Preview Lab → · Contrast checker → · Palette generator →

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