#7D289A#7D289A

#7D289A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.183 H 315.9°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7D289A
RGBrgb(125, 40, 154)
HSLhsl(285, 59%, 38%)
HSVhsv(285, 74%, 60%)
CMYKcmyk(18.8%, 74%, 0%, 39.6%)
CIE-LABlab(34.42, 53.17, -45.15)
CIE-LCHlch(34.42, 69.75, 319.66°)
OKLaboklab(45.82% 0.1314 -0.1271)
OKLCHoklch(45.82% 0.183 315.9)
XYZxyz(15.0481, 8.2112, 31.3578)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D289A #459A28
analogous
#44289A #7D289A #9A287E
triadic
#7D289A #9A7D28 #289A7D
tetradic
#7D289A #9A4428 #459A28 #287E9A
square
#7D289A #9A4428 #459A28 #287E9A
split-complementary
#7D289A #7E9A28 #289A44
monochromatic
#2E0F39 #561B69 #7D289A #A435CA #BA65D7

Accessibility & contrast

On white

7.95
#7D289A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D289A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D289A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D289A#FFFFFF#000000##FFFFFF
##7D289A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#275397
Tritanopia (blue-blind)
#7B405F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d289a;
/* rgb */ color: rgb(125, 40, 154);
/* oklch */ color: oklch(45.8% 0.183 315.9);
Tailwind
colors: {
  custom: {
    50: '#a66bb8',
    500: '#7d289a',
    950: '#000000',
  },
}
SCSS
$custom: #7d289a;
$custom-light: #a66bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d289a",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 154
  },
  "hsl": {
    "h": 284.737,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45817,
    "c": 0.18281,
    "h": 315.9
  },
  "luminance": 0.08211
}

Semantic roles & 50–950 ramp

primary
#7D289A
secondary
#78BD61
accent
#E2466E
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D289A

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

Preview Lab → · Contrast checker → · Palette generator →

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