#7E2389#7E2389

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

Color values

HEX#7E2389
RGBrgb(126, 35, 137)
HSLhsl(294, 59%, 34%)
HSVhsv(294, 74%, 54%)
CMYKcmyk(8%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.80, 51.95, -37.31)
CIE-LCHlch(32.80, 63.96, 324.32°)
OKLaboklab(44.34% 0.1391 -0.1041)
OKLCHoklch(44.34% 0.174 323.2)
XYZxyz(13.7201, 7.4446, 24.3764)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2389 #2E8923
analogous
#4B2389 #7E2389 #892361
triadic
#7E2389 #897E23 #23897E
tetradic
#7E2389 #894B23 #2E8923 #236189
square
#7E2389 #894B23 #2E8923 #236189
split-complementary
#7E2389 #618923 #23894B
monochromatic
#240A28 #511758 #7E2389 #AB2FBA #C553D3

Accessibility & contrast

On white

8.44
#7E2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7E2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2389
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2389#FFFFFF#000000##FFFFFF
##7E23891.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2389;
/* rgb */ color: rgb(126, 35, 137);
/* oklch */ color: oklch(44.3% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#a768ac',
    500: '#7e2389',
    950: '#000000',
  },
}
SCSS
$custom: #7e2389;
$custom-light: #a768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2389",
  "rgb": {
    "r": 126,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 293.529,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4434,
    "c": 0.17374,
    "h": 323.2
  },
  "luminance": 0.07444
}

Semantic roles & 50–950 ramp

primary
#7E2389
secondary
#5CB751
accent
#E24556
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2389

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

Preview Lab → · Contrast checker → · Palette generator →

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