#7D2B94#7D2B94

#7D2B94 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.174 H 317.9°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#7D2B94
RGBrgb(125, 43, 148)
HSLhsl(287, 55%, 37%)
HSVhsv(287, 71%, 58%)
CMYKcmyk(15.5%, 70.9%, 0%, 42%)
CIE-LABlab(34.45, 50.72, -41.44)
CIE-LCHlch(34.45, 65.50, 320.75°)
OKLaboklab(45.71% 0.1288 -0.1163)
OKLCHoklch(45.71% 0.174 317.9)
XYZxyz(14.6659, 8.2265, 28.8266)
Luminance0.0823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B94 #42942B
analogous
#482B94 #7D2B94 #942B77
triadic
#7D2B94 #947D2B #2B947D
tetradic
#7D2B94 #94482B #42942B #2B7794
square
#7D2B94 #94482B #42942B #2B7794
split-complementary
#7D2B94 #77942B #2B9448
monochromatic
#2D0F35 #551D65 #7D2B94 #A539C3 #BB67D3

Accessibility & contrast

On white

7.94
#7D2B94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7D2B94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B94
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B94#FFFFFF#000000##FFFFFF
##7D2B941.007.942.657.94
#FFFFFF7.941.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C97
Deuteranopia (green-blind)
#2F5492
Tritanopia (blue-blind)
#7C3F5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2b94;
/* rgb */ color: rgb(125, 43, 148);
/* oklch */ color: oklch(45.7% 0.174 317.9);
Tailwind
colors: {
  custom: {
    50: '#a66cb4',
    500: '#7d2b94',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b94;
$custom-light: #a66cb4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b94",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 148
  },
  "hsl": {
    "h": 286.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45712,
    "c": 0.17352,
    "h": 317.9
  },
  "luminance": 0.08226
}

Semantic roles & 50–950 ramp

primary
#7D2B94
secondary
#75B962
accent
#DE496A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B94

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

Preview Lab → · Contrast checker → · Palette generator →

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