#7D2289#7D2289

#7D2289 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.174 H 322.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#7D2289
RGBrgb(125, 34, 137)
HSLhsl(293, 60%, 34%)
HSVhsv(293, 75%, 54%)
CMYKcmyk(8.8%, 75.2%, 0%, 46.3%)
CIE-LABlab(32.50, 52.09, -37.78)
CIE-LCHlch(32.50, 64.35, 324.04°)
OKLaboklab(44.1% 0.1389 -0.1055)
OKLCHoklch(44.1% 0.174 322.8)
XYZxyz(13.5444, 7.3110, 24.3598)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2289 #2E8922
analogous
#492289 #7D2289 #892261
triadic
#7D2289 #897D22 #22897D
tetradic
#7D2289 #894922 #2E8922 #226189
square
#7D2289 #894922 #2E8922 #226189
split-complementary
#7D2289 #618922 #228949
monochromatic
#240A27 #501658 #7D2289 #AA2EBA #C551D4

Accessibility & contrast

On white

8.53
#7D2289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7D2289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2289
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2289#FFFFFF#000000##FFFFFF
##7D22891.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7F3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2289;
/* rgb */ color: rgb(125, 34, 137);
/* oklch */ color: oklch(44.1% 0.174 322.8);
Tailwind
colors: {
  custom: {
    50: '#a667ac',
    500: '#7d2289',
    950: '#000000',
  },
}
SCSS
$custom: #7d2289;
$custom-light: #a667ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2289",
  "rgb": {
    "r": 125,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 293.01,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44097,
    "c": 0.17443,
    "h": 322.8
  },
  "luminance": 0.0731
}

Semantic roles & 50–950 ramp

primary
#7D2289
secondary
#5BB84F
accent
#E34457
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2289

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

Preview Lab → · Contrast checker → · Palette generator →

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