#7D2C95#7D2C95

#7D2C95 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.9% C 0.173 H 317.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#7D2C95
RGBrgb(125, 44, 149)
HSLhsl(286, 54%, 38%)
HSVhsv(286, 70%, 58%)
CMYKcmyk(16.1%, 70.5%, 0%, 41.6%)
CIE-LABlab(34.66, 50.50, -41.71)
CIE-LCHlch(34.66, 65.50, 320.45°)
OKLaboklab(45.89% 0.1276 -0.1171)
OKLCHoklch(45.89% 0.173 317.5)
XYZxyz(14.7822, 8.3319, 29.2575)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C95 #44952C
analogous
#492C95 #7D2C95 #952C78
triadic
#7D2C95 #957D2C #2C957D
tetradic
#7D2C95 #95492C #44952C #2C7895
square
#7D2C95 #95492C #44952C #2C7895
split-complementary
#7D2C95 #78952C #2C9549
monochromatic
#2E1037 #551E66 #7D2C95 #A53AC4 #BA69D3

Accessibility & contrast

On white

7.88
#7D2C95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D2C95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C95
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C95#FFFFFF#000000##FFFFFF
##7D2C951.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#2F5493
Tritanopia (blue-blind)
#7C405D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c95;
/* rgb */ color: rgb(125, 44, 149);
/* oklch */ color: oklch(45.9% 0.173 317.5);
Tailwind
colors: {
  custom: {
    50: '#a66cb5',
    500: '#7d2c95',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c95;
$custom-light: #a66cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c95",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 149
  },
  "hsl": {
    "h": 286.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45887,
    "c": 0.17318,
    "h": 317.5
  },
  "luminance": 0.08331
}

Semantic roles & 50–950 ramp

primary
#7D2C95
secondary
#77B964
accent
#DE4A6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2C95

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

Preview Lab → · Contrast checker → · Palette generator →

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