#7D2D90#7D2D90

#7D2D90 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.167 H 319.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#7D2D90
RGBrgb(125, 45, 144)
HSLhsl(288, 52%, 37%)
HSVhsv(288, 69%, 56%)
CMYKcmyk(13.2%, 68.7%, 0%, 43.5%)
CIE-LABlab(34.50, 49.06, -38.91)
CIE-LCHlch(34.50, 62.61, 321.58°)
OKLaboklab(45.67% 0.1268 -0.1089)
OKLCHoklch(45.67% 0.167 319.3)
XYZxyz(14.4292, 8.2510, 27.2127)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D90 #40902D
analogous
#4C2D90 #7D2D90 #902D72
triadic
#7D2D90 #907D2D #2D907D
tetradic
#7D2D90 #904C2D #40902D #2D7290
square
#7D2D90 #904C2D #40902D #2D7290
split-complementary
#7D2D90 #72902D #2D904C
monochromatic
#2C1033 #551E61 #7D2D90 #A53CBF #BC68D0

Accessibility & contrast

On white

7.92
#7D2D90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2D90
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D90#FFFFFF#000000##FFFFFF
##7D2D901.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C93
Deuteranopia (green-blind)
#34548E
Tritanopia (blue-blind)
#7D3F5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2d90;
/* rgb */ color: rgb(125, 45, 144);
/* oklch */ color: oklch(45.7% 0.167 319.3);
Tailwind
colors: {
  custom: {
    50: '#a66db1',
    500: '#7d2d90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d90;
$custom-light: #a66db1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d90",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 144
  },
  "hsl": {
    "h": 288.485,
    "s": 52.381,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45667,
    "c": 0.16711,
    "h": 319.3
  },
  "luminance": 0.0825
}

Semantic roles & 50–950 ramp

primary
#7D2D90
secondary
#73B662
accent
#DC4C68
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D90

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

Preview Lab → · Contrast checker → · Palette generator →

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