#7E206F#7E206F

#7E206F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.156 H 335.2°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7E206F
RGBrgb(126, 32, 111)
HSLhsl(310, 59%, 31%)
HSVhsv(310, 75%, 49%)
CMYKcmyk(0%, 74.6%, 11.9%, 50.6%)
CIE-LABlab(30.92, 48.52, -23.94)
CIE-LCHlch(30.92, 54.11, 333.74°)
OKLaboklab(42.51% 0.1417 -0.0654)
OKLCHoklch(42.51% 0.156 335.2)
XYZxyz(11.9901, 6.6174, 15.6816)
Luminance0.0662 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E206F #207E2F
analogous
#5E207E #7E206F #7E2040
triadic
#7E206F #6F7E20 #206F7E
tetradic
#7E206F #7E5E20 #207E2F #20407E
square
#7E206F #7E5E20 #207E2F #20407E
split-complementary
#7E206F #407E20 #207E5E
monochromatic
#1C0719 #4D1444 #7E206F #AF2C9A #D048BB

Accessibility & contrast

On white

9.04
#7E206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7E206F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E206F
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E206F#FFFFFF#000000##FFFFFF
##7E206F1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204071
Deuteranopia (green-blind)
#414E6D
Tritanopia (blue-blind)
#842745
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7e206f;
/* rgb */ color: rgb(126, 32, 111);
/* oklch */ color: oklch(42.5% 0.156 335.2);
Tailwind
colors: {
  custom: {
    50: '#a76598',
    500: '#7e206f',
    950: '#000000',
  },
}
SCSS
$custom: #7e206f;
$custom-light: #a76598;
$custom-dark: #000000;
JSON
{
  "hex": "#7e206f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 309.574,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42508,
    "c": 0.15601,
    "h": 335.2
  },
  "luminance": 0.06616
}

Semantic roles & 50–950 ramp

primary
#7E206F
secondary
#49B159
accent
#E35E45
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7E206F

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

Preview Lab → · Contrast checker → · Palette generator →

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