#7D2B92#7D2B92

#7D2B92 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.6% C 0.172 H 318.7°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#7D2B92
RGBrgb(125, 43, 146)
HSLhsl(288, 54%, 37%)
HSVhsv(288, 71%, 57%)
CMYKcmyk(14.4%, 70.5%, 0%, 42.7%)
CIE-LABlab(34.32, 50.32, -40.42)
CIE-LCHlch(34.32, 64.54, 321.22°)
OKLaboklab(45.58% 0.1289 -0.1133)
OKLCHoklch(45.58% 0.172 318.7)
XYZxyz(14.5089, 8.1637, 28.0001)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2B92 #40922B
analogous
#4A2B92 #7D2B92 #922B74
triadic
#7D2B92 #927D2B #2B927D
tetradic
#7D2B92 #924A2B #40922B #2B7492
square
#7D2B92 #924A2B #40922B #2B7492
split-complementary
#7D2B92 #74922B #2B924A
monochromatic
#2C0F33 #551D63 #7D2B92 #A539C1 #BC66D2

Accessibility & contrast

On white

7.98
#7D2B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D2B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2B92
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2B92#FFFFFF#000000##FFFFFF
##7D2B921.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B95
Deuteranopia (green-blind)
#315390
Tritanopia (blue-blind)
#7D3E5B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d2b92;
/* rgb */ color: rgb(125, 43, 146);
/* oklch */ color: oklch(45.6% 0.172 318.7);
Tailwind
colors: {
  custom: {
    50: '#a66cb2',
    500: '#7d2b92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2b92;
$custom-light: #a66cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2b92",
  "rgb": {
    "r": 125,
    "g": 43,
    "b": 146
  },
  "hsl": {
    "h": 287.767,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45579,
    "c": 0.17164,
    "h": 318.7
  },
  "luminance": 0.08163
}

Semantic roles & 50–950 ramp

primary
#7D2B92
secondary
#73B861
accent
#DE4A68
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2B92

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

Preview Lab → · Contrast checker → · Palette generator →

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