#7E208B#7E208B

#7E208B is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.179 H 322.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7E208B
RGBrgb(126, 32, 139)
HSLhsl(293, 63%, 34%)
HSVhsv(293, 77%, 55%)
CMYKcmyk(9.4%, 77%, 0%, 45.5%)
CIE-LABlab(32.55, 53.38, -38.93)
CIE-LCHlch(32.55, 66.07, 323.90°)
OKLaboklab(44.21% 0.1419 -0.1088)
OKLCHoklch(44.21% 0.179 322.5)
XYZxyz(13.7804, 7.3335, 25.1108)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E208B #2D8B20
analogous
#48208B #7E208B #8B2062
triadic
#7E208B #8B7E20 #208B7E
tetradic
#7E208B #8B4820 #2D8B20 #20628B
square
#7E208B #8B4820 #2D8B20 #20628B
split-complementary
#7E208B #628B20 #208B48
monochromatic
#240928 #511559 #7E208B #AB2BBD #C64FD6

Accessibility & contrast

On white

8.51
#7E208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7E208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E208B
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E208B#FFFFFF#000000##FFFFFF
##7E208B1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#315089
Tritanopia (blue-blind)
#803554
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7e208b;
/* rgb */ color: rgb(126, 32, 139);
/* oklch */ color: oklch(44.2% 0.179 322.5);
Tailwind
colors: {
  custom: {
    50: '#a767ad',
    500: '#7e208b',
    950: '#000000',
  },
}
SCSS
$custom: #7e208b;
$custom-light: #a767ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7e208b",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 292.71,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44207,
    "c": 0.1788,
    "h": 322.5
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#7E208B
secondary
#5ABA4D
accent
#E64256
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E208B

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

Preview Lab → · Contrast checker → · Palette generator →

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