#7D289B#7D289B

#7D289B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.184 H 315.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#7D289B
RGBrgb(125, 40, 155)
HSLhsl(284, 59%, 38%)
HSVhsv(284, 74%, 61%)
CMYKcmyk(19.4%, 74.2%, 0%, 39.2%)
CIE-LABlab(34.49, 53.37, -45.64)
CIE-LCHlch(34.49, 70.23, 319.46°)
OKLaboklab(45.89% 0.1313 -0.1286)
OKLCHoklch(45.89% 0.184 315.6)
XYZxyz(15.1317, 8.2447, 31.7983)
Luminance0.0824 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D289B #469B28
analogous
#43289B #7D289B #9B287F
triadic
#7D289B #9B7D28 #289B7D
tetradic
#7D289B #9B4328 #469B28 #287F9B
square
#7D289B #9B4328 #469B28 #287F9B
split-complementary
#7D289B #7F9B28 #289B43
monochromatic
#2F0F3A #561B6A #7D289B #A435CB #BA66D7

Accessibility & contrast

On white

7.93
#7D289B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D289B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D289B
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D289B#FFFFFF#000000##FFFFFF
##7D289B1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d289b;
/* rgb */ color: rgb(125, 40, 155);
/* oklch */ color: oklch(45.9% 0.184 315.6);
Tailwind
colors: {
  custom: {
    50: '#a66bb9',
    500: '#7d289b',
    950: '#000000',
  },
}
SCSS
$custom: #7d289b;
$custom-light: #a66bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d289b",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 155
  },
  "hsl": {
    "h": 284.348,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45888,
    "c": 0.18374,
    "h": 315.6
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D289B

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

Preview Lab → · Contrast checker → · Palette generator →

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