#7D2D94#7D2D94

#7D2D94 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 45.9% C 0.171 H 317.8°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#7D2D94
RGBrgb(125, 45, 148)
HSLhsl(287, 53%, 38%)
HSVhsv(287, 70%, 58%)
CMYKcmyk(15.5%, 69.6%, 0%, 42%)
CIE-LABlab(34.75, 49.87, -40.95)
CIE-LCHlch(34.75, 64.53, 320.61°)
OKLaboklab(45.93% 0.1266 -0.1149)
OKLCHoklch(45.93% 0.171 317.8)
XYZxyz(14.7404, 8.3755, 28.8514)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D94 #44942D
analogous
#492D94 #7D2D94 #942D77
triadic
#7D2D94 #947D2D #2D947D
tetradic
#7D2D94 #94492D #44942D #2D7794
square
#7D2D94 #94492D #44942D #2D7794
split-complementary
#7D2D94 #77942D #2D9449
monochromatic
#2E1036 #551F65 #7D2D94 #A53BC3 #BA6AD2

Accessibility & contrast

On white

7.85
#7D2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2D94
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D94#FFFFFF#000000##FFFFFF
##7D2D941.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D97
Deuteranopia (green-blind)
#315492
Tritanopia (blue-blind)
#7C405D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2d94;
/* rgb */ color: rgb(125, 45, 148);
/* oklch */ color: oklch(45.9% 0.171 317.8);
Tailwind
colors: {
  custom: {
    50: '#a66db4',
    500: '#7d2d94',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d94;
$custom-light: #a66db4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d94",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 286.602,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45929,
    "c": 0.17093,
    "h": 317.8
  },
  "luminance": 0.08375
}

Semantic roles & 50–950 ramp

primary
#7D2D94
secondary
#77B864
accent
#DD4B6C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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