#7D2990#7D2990

#7D2990 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.172 H 319.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D2990
RGBrgb(125, 41, 144)
HSLhsl(289, 56%, 36%)
HSVhsv(289, 72%, 56%)
CMYKcmyk(13.2%, 71.5%, 0%, 43.5%)
CIE-LABlab(33.90, 50.75, -39.87)
CIE-LCHlch(33.90, 64.53, 321.84°)
OKLaboklab(45.24% 0.1312 -0.1117)
OKLCHoklch(45.24% 0.172 319.6)
XYZxyz(14.2838, 7.9602, 27.1642)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2990 #3C9029
analogous
#4A2990 #7D2990 #902970
triadic
#7D2990 #907D29 #29907D
tetradic
#7D2990 #904A29 #3C9029 #297090
square
#7D2990 #904A29 #3C9029 #297090
split-complementary
#7D2990 #709029 #29904A
monochromatic
#2A0E31 #541B60 #7D2990 #A637C0 #BD61D2

Accessibility & contrast

On white

8.10
#7D2990 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2990 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2990
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2990#FFFFFF#000000##FFFFFF
##7D29901.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#31538E
Tritanopia (blue-blind)
#7D3C59
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2990;
/* rgb */ color: rgb(125, 41, 144);
/* oklch */ color: oklch(45.2% 0.172 319.6);
Tailwind
colors: {
  custom: {
    50: '#a66bb1',
    500: '#7d2990',
    950: '#000000',
  },
}
SCSS
$custom: #7d2990;
$custom-light: #a66bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2990",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 144
  },
  "hsl": {
    "h": 288.932,
    "s": 55.676,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45236,
    "c": 0.17231,
    "h": 319.6
  },
  "luminance": 0.07959
}

Semantic roles & 50–950 ramp

primary
#7D2990
secondary
#6EB85D
accent
#DF4965
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2990

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

Preview Lab → · Contrast checker → · Palette generator →

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