#7D289F#7D289F

#7D289F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.187 H 314.2°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7D289F
RGBrgb(125, 40, 159)
HSLhsl(283, 60%, 39%)
HSVhsv(283, 75%, 62%)
CMYKcmyk(21.4%, 74.8%, 0%, 37.6%)
CIE-LABlab(34.76, 54.20, -47.62)
CIE-LCHlch(34.76, 72.15, 318.70°)
OKLaboklab(46.17% 0.1307 -0.1344)
OKLCHoklch(46.17% 0.187 314.2)
XYZxyz(15.4732, 8.3813, 33.5968)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D289F #4A9F28
analogous
#42289F #7D289F #9F2886
triadic
#7D289F #9F7D28 #289F7D
tetradic
#7D289F #9F4228 #4A9F28 #28869F
square
#7D289F #9F4228 #4A9F28 #28869F
split-complementary
#7D289F #869F28 #289F42
monochromatic
#300F3D #571C6E #7D289F #A237CD #B968D9

Accessibility & contrast

On white

7.85
#7D289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D289F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D289F#FFFFFF#000000##FFFFFF
##7D289F1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#7A4262
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d289f;
/* rgb */ color: rgb(125, 40, 159);
/* oklch */ color: oklch(46.2% 0.187 314.2);
Tailwind
colors: {
  custom: {
    50: '#a76bbc',
    500: '#7d289f',
    950: '#000000',
  },
}
SCSS
$custom: #7d289f;
$custom-light: #a76bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d289f",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 282.857,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46173,
    "c": 0.18749,
    "h": 314.2
  },
  "luminance": 0.08381
}

Semantic roles & 50–950 ramp

primary
#7D289F
secondary
#7EBF64
accent
#E34572
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D289F

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

Preview Lab → · Contrast checker → · Palette generator →

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