#7E2489#7E2489

#7E2489 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.173 H 323.1°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#7E2489
RGBrgb(126, 36, 137)
HSLhsl(293, 58%, 34%)
HSVhsv(293, 74%, 54%)
CMYKcmyk(8%, 73.7%, 0%, 46.3%)
CIE-LABlab(32.93, 51.58, -37.10)
CIE-LCHlch(32.93, 63.53, 324.27°)
OKLaboklab(44.43% 0.1381 -0.1035)
OKLCHoklch(44.43% 0.173 323.1)
XYZxyz(13.7500, 7.5043, 24.3863)
Luminance0.0750 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2489 #2F8924
analogous
#4C2489 #7E2489 #892462
triadic
#7E2489 #897E24 #24897E
tetradic
#7E2489 #894C24 #2F8924 #246289
square
#7E2489 #894C24 #2F8924 #246289
split-complementary
#7E2489 #628924 #24894C
monochromatic
#250B28 #511759 #7E2489 #AB31B9 #C555D2

Accessibility & contrast

On white

8.40
#7E2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7E2489 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7E2489
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2489#FFFFFF#000000##FFFFFF
##7E24891.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e2489;
/* rgb */ color: rgb(126, 36, 137);
/* oklch */ color: oklch(44.4% 0.173 323.1);
Tailwind
colors: {
  custom: {
    50: '#a768ac',
    500: '#7e2489',
    950: '#000000',
  },
}
SCSS
$custom: #7e2489;
$custom-light: #a768ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2489",
  "rgb": {
    "r": 126,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 293.465,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44432,
    "c": 0.17257,
    "h": 323.1
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#7E2489
secondary
#5DB752
accent
#E24657
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7E2489

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

Preview Lab → · Contrast checker → · Palette generator →

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