#7D2D91#7D2D91

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

Color values

HEX#7D2D91
RGBrgb(125, 45, 145)
HSLhsl(288, 53%, 37%)
HSVhsv(288, 69%, 57%)
CMYKcmyk(13.8%, 69%, 0%, 43.1%)
CIE-LABlab(34.56, 49.26, -39.42)
CIE-LCHlch(34.56, 63.09, 321.33°)
OKLaboklab(45.73% 0.1267 -0.1104)
OKLCHoklch(45.73% 0.168 318.9)
XYZxyz(14.5060, 8.2817, 27.6170)
Luminance0.0828 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D91 #41912D
analogous
#4B2D91 #7D2D91 #912D73
triadic
#7D2D91 #917D2D #2D917D
tetradic
#7D2D91 #914B2D #41912D #2D7391
square
#7D2D91 #914B2D #41912D #2D7391
split-complementary
#7D2D91 #73912D #2D914B
monochromatic
#2C1034 #551F62 #7D2D91 #A53BC0 #BB68D0

Accessibility & contrast

On white

7.91
#7D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D91
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D91#FFFFFF#000000##FFFFFF
##7D2D911.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034C94
Deuteranopia (green-blind)
#33548F
Tritanopia (blue-blind)
#7D3F5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2d91;
/* rgb */ color: rgb(125, 45, 145);
/* oklch */ color: oklch(45.7% 0.168 318.9);
Tailwind
colors: {
  custom: {
    50: '#a66db2',
    500: '#7d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d91;
$custom-light: #a66db2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d91",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 288,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45732,
    "c": 0.16806,
    "h": 318.9
  },
  "luminance": 0.08281
}

Semantic roles & 50–950 ramp

primary
#7D2D91
secondary
#74B763
accent
#DC4C69
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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