#7D2891#7D2891

#7D2891 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.174 H 319.3°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#7D2891
RGBrgb(125, 40, 145)
HSLhsl(289, 57%, 36%)
HSVhsv(289, 72%, 57%)
CMYKcmyk(13.8%, 72.4%, 0%, 43.1%)
CIE-LABlab(33.82, 51.35, -40.61)
CIE-LCHlch(33.82, 65.47, 321.66°)
OKLaboklab(45.2% 0.1322 -0.1138)
OKLCHoklch(45.2% 0.174 319.3)
XYZxyz(14.3264, 7.9226, 27.5572)
Luminance0.0792 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2891 #3C9128
analogous
#492891 #7D2891 #912871
triadic
#7D2891 #917D28 #28917D
tetradic
#7D2891 #914928 #3C9128 #287191
square
#7D2891 #914928 #3C9128 #287191
split-complementary
#7D2891 #719128 #289149
monochromatic
#2A0E31 #541B61 #7D2891 #A635C1 #BD60D3

Accessibility & contrast

On white

8.13
#7D2891 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7D2891 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2891
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2891#FFFFFF#000000##FFFFFF
##7D28911.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A94
Deuteranopia (green-blind)
#30528F
Tritanopia (blue-blind)
#7D3C5A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2891;
/* rgb */ color: rgb(125, 40, 145);
/* oklch */ color: oklch(45.2% 0.174 319.3);
Tailwind
colors: {
  custom: {
    50: '#a66ab2',
    500: '#7d2891',
    950: '#000000',
  },
}
SCSS
$custom: #7d2891;
$custom-light: #a66ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2891",
  "rgb": {
    "r": 125,
    "g": 40,
    "b": 145
  },
  "hsl": {
    "h": 288.571,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45201,
    "c": 0.17448,
    "h": 319.3
  },
  "luminance": 0.07922
}

Semantic roles & 50–950 ramp

primary
#7D2891
secondary
#6EB95C
accent
#E04865
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2891

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

Preview Lab → · Contrast checker → · Palette generator →

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