#7D2C90#7D2C90

#7D2C90 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.168 H 319.4°. Best body text is #FFFFFF at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#7D2C90
RGBrgb(125, 44, 144)
HSLhsl(289, 53%, 37%)
HSVhsv(289, 69%, 56%)
CMYKcmyk(13.2%, 69.4%, 0%, 43.5%)
CIE-LABlab(34.35, 49.49, -39.16)
CIE-LCHlch(34.35, 63.11, 321.65°)
OKLaboklab(45.56% 0.1279 -0.1096)
OKLCHoklch(45.56% 0.168 319.4)
XYZxyz(14.3915, 8.1756, 27.2001)
Luminance0.0818 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C90 #3F902C
analogous
#4B2C90 #7D2C90 #902C71
triadic
#7D2C90 #907D2C #2C907D
tetradic
#7D2C90 #904B2C #3F902C #2C7190
square
#7D2C90 #904B2C #3F902C #2C7190
split-complementary
#7D2C90 #71902C #2C904B
monochromatic
#2C0F32 #541E61 #7D2C90 #A63ABF #BC66D0

Accessibility & contrast

On white

7.97
#7D2C90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7D2C90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C90
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C90#FFFFFF#000000##FFFFFF
##7D2C901.007.972.647.97
#FFFFFF7.971.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024B93
Deuteranopia (green-blind)
#33548E
Tritanopia (blue-blind)
#7D3E5A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c90;
/* rgb */ color: rgb(125, 44, 144);
/* oklch */ color: oklch(45.6% 0.168 319.4);
Tailwind
colors: {
  custom: {
    50: '#a66cb1',
    500: '#7d2c90',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c90;
$custom-light: #a66cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c90",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 144
  },
  "hsl": {
    "h": 288.6,
    "s": 53.191,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45556,
    "c": 0.16844,
    "h": 319.4
  },
  "luminance": 0.08175
}

Semantic roles & 50–950 ramp

primary
#7D2C90
secondary
#71B761
accent
#DD4B67
background
#FAF6FA
surface
#F4ECF5
border
#CEC7CF
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2C90

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

Preview Lab → · Contrast checker → · Palette generator →

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