#7D2B9C#7D2B9C

#7D2B9C is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.3% C 0.181 H 315.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#7D2B9C
RGBrgb(125, 43, 156)
HSLhsl(284, 57%, 39%)
HSVhsv(284, 72%, 61%)
CMYKcmyk(19.9%, 72.4%, 0%, 38.8%)
CIE-LABlab(34.98, 52.37, -45.46)
CIE-LCHlch(34.98, 69.35, 319.04°)
OKLaboklab(46.26% 0.1281 -0.1281)
OKLCHoklch(46.26% 0.181 315)
XYZxyz(15.3211, 8.4886, 32.2774)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B9C #4A9C2B
analogous
#452B9C #7D2B9C #9C2B83
triadic
#7D2B9C #9C7D2B #2B9C7D
tetradic
#7D2B9C #9C452B #4A9C2B #2B839C
square
#7D2B9C #9C452B #4A9C2B #2B839C
split-complementary
#7D2B9C #839C2B #2B9C45
monochromatic
#30113C #571E6C #7D2B9C #A23BC9 #B96BD6

Accessibility & contrast

On white

7.78
#7D2B9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#7D2B9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B9C
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B9C#FFFFFF#000000##FFFFFF
##7D2B9C1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#275499
Tritanopia (blue-blind)
#7A4361
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2b9c;
/* rgb */ color: rgb(125, 43, 156);
/* oklch */ color: oklch(46.3% 0.181 315.0);
Tailwind
colors: {
  custom: {
    50: '#a66cba',
    500: '#7d2b9c',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b9c;
$custom-light: #a66cba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b9c",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 156
  },
  "hsl": {
    "h": 283.54,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4626,
    "c": 0.18112,
    "h": 315
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#7D2B9C
secondary
#7EBD66
accent
#E04872
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D2B9C

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

Preview Lab → · Contrast checker → · Palette generator →

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