#7E2289#7E2289

#7E2289 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.175 H 323.2°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7E2289
RGBrgb(126, 34, 137)
HSLhsl(294, 60%, 34%)
HSVhsv(294, 75%, 54%)
CMYKcmyk(8%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.67, 52.31, -37.51)
CIE-LCHlch(32.67, 64.37, 324.36°)
OKLaboklab(44.25% 0.1401 -0.1047)
OKLCHoklch(44.25% 0.175 323.2)
XYZxyz(13.6911, 7.3866, 24.3667)
Luminance0.0739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2289 #2D8922
analogous
#4A2289 #7E2289 #892260
triadic
#7E2289 #897E22 #22897E
tetradic
#7E2289 #894A22 #2D8922 #226089
square
#7E2289 #894A22 #2D8922 #226089
split-complementary
#7E2289 #608922 #22894A
monochromatic
#240A27 #511658 #7E2289 #AB2EBA #C651D4

Accessibility & contrast

On white

8.48
#7E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7E2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2289
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2289#FFFFFF#000000##FFFFFF
##7E22891.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2289;
/* rgb */ color: rgb(126, 34, 137);
/* oklch */ color: oklch(44.2% 0.175 323.2);
Tailwind
colors: {
  custom: {
    50: '#a767ac',
    500: '#7e2289',
    950: '#000000',
  },
}
SCSS
$custom: #7e2289;
$custom-light: #a767ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2289",
  "rgb": {
    "r": 126,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 293.592,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44249,
    "c": 0.17488,
    "h": 323.2
  },
  "luminance": 0.07386
}

Semantic roles & 50–950 ramp

primary
#7E2289
secondary
#5AB84F
accent
#E34455
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2289

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

Preview Lab → · Contrast checker → · Palette generator →

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