#7E207F#7E207F

#7E207F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 327.6°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7E207F
RGBrgb(126, 32, 127)
HSLhsl(299, 60%, 31%)
HSVhsv(299, 75%, 50%)
CMYKcmyk(0.8%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.81, 51.21, -32.65)
CIE-LCHlch(31.81, 60.73, 327.48°)
OKLaboklab(43.44% 0.1424 -0.0905)
OKLCHoklch(43.44% 0.169 327.6)
XYZxyz(12.9513, 7.0019, 20.7439)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E207F #217F20
analogous
#4E207F #7E207F #7F2050
triadic
#7E207F #7F7E20 #207F7E
tetradic
#7E207F #7F4E20 #217F20 #20507F
square
#7E207F #7F4E20 #217F20 #20507F
split-complementary
#7E207F #507F20 #207F4E
monochromatic
#1D071D #4D144E #7E207F #AE2CB0 #D048D1

Accessibility & contrast

On white

8.75
#7E207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7E207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E207F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E207F#FFFFFF#000000##FFFFFF
##7E207F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4382
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#822F4E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7e207f;
/* rgb */ color: rgb(126, 32, 127);
/* oklch */ color: oklch(43.4% 0.169 327.6);
Tailwind
colors: {
  custom: {
    50: '#a766a4',
    500: '#7e207f',
    950: '#000000',
  },
}
SCSS
$custom: #7e207f;
$custom-light: #a766a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e207f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 299.368,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.43438,
    "c": 0.16872,
    "h": 327.6
  },
  "luminance": 0.07001
}

Semantic roles & 50–950 ramp

primary
#7E207F
secondary
#4AB249
accent
#E34547
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7E207F

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

Preview Lab → · Contrast checker → · Palette generator →

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