#7D2C93#7D2C93

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

Color values

HEX#7D2C93
RGBrgb(125, 44, 147)
HSLhsl(287, 54%, 37%)
HSVhsv(287, 70%, 58%)
CMYKcmyk(15%, 70.1%, 0%, 42.4%)
CIE-LABlab(34.54, 50.10, -40.69)
CIE-LCHlch(34.54, 64.54, 320.91°)
OKLaboklab(45.75% 0.1278 -0.1141)
OKLCHoklch(45.75% 0.171 318.2)
XYZxyz(14.6239, 8.2686, 28.4238)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C93 #42932C
analogous
#492C93 #7D2C93 #932C76
triadic
#7D2C93 #937D2C #2C937D
tetradic
#7D2C93 #93492C #42932C #2C7693
square
#7D2C93 #93492C #42932C #2C7693
split-complementary
#7D2C93 #76932C #2C9349
monochromatic
#2D1035 #551E64 #7D2C93 #A53AC2 #BB68D2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2C93#FFFFFF#000000##FFFFFF
##7D2C931.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C96
Deuteranopia (green-blind)
#315491
Tritanopia (blue-blind)
#7D3F5C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2c93;
/* rgb */ color: rgb(125, 44, 147);
/* oklch */ color: oklch(45.8% 0.171 318.2);
Tailwind
colors: {
  custom: {
    50: '#a66cb3',
    500: '#7d2c93',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c93;
$custom-light: #a66cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c93",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 147
  },
  "hsl": {
    "h": 287.184,
    "s": 53.927,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45753,
    "c": 0.17129,
    "h": 318.2
  },
  "luminance": 0.08268
}

Semantic roles & 50–950 ramp

primary
#7D2C93
secondary
#75B863
accent
#DD4A6A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2C93

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

Preview Lab → · Contrast checker → · Palette generator →

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