#7E209F#7E209F

#7E209F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.196 H 315.2°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7E209F
RGBrgb(126, 32, 159)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 80%, 62%)
CMYKcmyk(20.8%, 79.9%, 0%, 37.6%)
CIE-LABlab(33.93, 57.26, -48.97)
CIE-LCHlch(33.93, 75.34, 319.46°)
OKLaboklab(45.61% 0.1392 -0.1383)
OKLCHoklch(45.61% 0.196 315.2)
XYZxyz(15.3777, 7.9724, 33.5230)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E209F #419F20
analogous
#3E209F #7E209F #9F2081
triadic
#7E209F #9F7E20 #209F7E
tetradic
#7E209F #9F3E20 #419F20 #20819F
square
#7E209F #9F3E20 #419F20 #20819F
split-complementary
#7E209F #819F20 #209F3E
monochromatic
#2D0B39 #56166C #7E209F #A62AD2 #BC5BDE

Accessibility & contrast

On white

8.09
#7E209F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7E209F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E209F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E209F#FFFFFF#000000##FFFFFF
##7E209F1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA2
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#7B3E60
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7e209f;
/* rgb */ color: rgb(126, 32, 159);
/* oklch */ color: oklch(45.6% 0.196 315.2);
Tailwind
colors: {
  custom: {
    50: '#a868bc',
    500: '#7e209f',
    950: '#000000',
  },
}
SCSS
$custom: #7e209f;
$custom-light: #a868bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7e209f",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 159
  },
  "hsl": {
    "h": 284.409,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.19619,
    "h": 315.2
  },
  "luminance": 0.07972
}

Semantic roles & 50–950 ramp

primary
#7E209F
secondary
#74C259
accent
#E93E6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7E209F

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

Preview Lab → · Contrast checker → · Palette generator →

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