#7E2088#7E2088

#7E2088 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.176 H 323.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7E2088
RGBrgb(126, 32, 136)
HSLhsl(294, 62%, 33%)
HSVhsv(294, 76%, 53%)
CMYKcmyk(7.4%, 76.5%, 0%, 46.7%)
CIE-LABlab(32.36, 52.83, -37.38)
CIE-LCHlch(32.36, 64.72, 324.72°)
OKLaboklab(44.01% 0.1421 -0.1043)
OKLCHoklch(44.01% 0.176 323.7)
XYZxyz(13.5642, 7.2471, 23.9721)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2088 #2A8820
analogous
#4A2088 #7E2088 #88205E
triadic
#7E2088 #887E20 #20887E
tetradic
#7E2088 #884A20 #2A8820 #205E88
square
#7E2088 #884A20 #2A8820 #205E88
split-complementary
#7E2088 #5E8820 #20884A
monochromatic
#220925 #501456 #7E2088 #AC2CBA #C84DD5

Accessibility & contrast

On white

8.57
#7E2088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7E2088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2088
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2088#FFFFFF#000000##FFFFFF
##7E20881.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#803353
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7e2088;
/* rgb */ color: rgb(126, 32, 136);
/* oklch */ color: oklch(44.0% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a766ab',
    500: '#7e2088',
    950: '#000000',
  },
}
SCSS
$custom: #7e2088;
$custom-light: #a766ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2088",
  "rgb": {
    "r": 126,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 294.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.44009,
    "c": 0.17624,
    "h": 323.7
  },
  "luminance": 0.07246
}

Semantic roles & 50–950 ramp

primary
#7E2088
secondary
#56B84C
accent
#E54352
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7E2088

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

Preview Lab → · Contrast checker → · Palette generator →

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