#7D2489#7D2489

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

Color values

HEX#7D2489
RGBrgb(125, 36, 137)
HSLhsl(293, 58%, 34%)
HSVhsv(293, 74%, 54%)
CMYKcmyk(8.8%, 73.7%, 0%, 46.3%)
CIE-LABlab(32.76, 51.35, -37.37)
CIE-LCHlch(32.76, 63.51, 323.95°)
OKLaboklab(44.28% 0.1369 -0.1043)
OKLCHoklch(44.28% 0.172 322.7)
XYZxyz(13.6032, 7.4287, 24.3794)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2489 #308924
analogous
#4B2489 #7D2489 #892463
triadic
#7D2489 #897D24 #24897D
tetradic
#7D2489 #894B24 #308924 #246389
square
#7D2489 #894B24 #308924 #246389
split-complementary
#7D2489 #638924 #24894B
monochromatic
#250B28 #511759 #7D2489 #A931B9 #C355D2

Accessibility & contrast

On white

8.45
#7D2489 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2489
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2489#FFFFFF#000000##FFFFFF
##7D24891.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#7F3654
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2489;
/* rgb */ color: rgb(125, 36, 137);
/* oklch */ color: oklch(44.3% 0.172 322.7);
Tailwind
colors: {
  custom: {
    50: '#a668ac',
    500: '#7d2489',
    950: '#000000',
  },
}
SCSS
$custom: #7d2489;
$custom-light: #a668ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2489",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 292.871,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44282,
    "c": 0.17211,
    "h": 322.7
  },
  "luminance": 0.07428
}

Semantic roles & 50–950 ramp

primary
#7D2489
secondary
#5EB752
accent
#E24659
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2489

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

Preview Lab → · Contrast checker → · Palette generator →

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