#7D2D95#7D2D95

#7D2D95 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.0% C 0.172 H 317.4°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D2D95
RGBrgb(125, 45, 149)
HSLhsl(286, 54%, 38%)
HSVhsv(286, 70%, 58%)
CMYKcmyk(16.1%, 69.8%, 0%, 41.6%)
CIE-LABlab(34.82, 50.08, -41.46)
CIE-LCHlch(34.82, 65.01, 320.38°)
OKLaboklab(46% 0.1265 -0.1164)
OKLCHoklch(46% 0.172 317.4)
XYZxyz(14.8199, 8.4073, 29.2701)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D95 #45952D
analogous
#492D95 #7D2D95 #952D79
triadic
#7D2D95 #957D2D #2D957D
tetradic
#7D2D95 #95492D #45952D #2D7995
square
#7D2D95 #95492D #45952D #2D7995
split-complementary
#7D2D95 #79952D #2D9549
monochromatic
#2E1137 #561F66 #7D2D95 #A43BC4 #BA6AD2

Accessibility & contrast

On white

7.83
#7D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D95
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D95#FFFFFF#000000##FFFFFF
##7D2D951.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D98
Deuteranopia (green-blind)
#305493
Tritanopia (blue-blind)
#7C415D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2d95;
/* rgb */ color: rgb(125, 45, 149);
/* oklch */ color: oklch(46.0% 0.172 317.4);
Tailwind
colors: {
  custom: {
    50: '#a66db5',
    500: '#7d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d95;
$custom-light: #a66db5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d95",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 286.154,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45996,
    "c": 0.17189,
    "h": 317.4
  },
  "luminance": 0.08407
}

Semantic roles & 50–950 ramp

primary
#7D2D95
secondary
#78B965
accent
#DD4B6D
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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