#7D2F92#7D2F92

#7D2F92 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.0% C 0.166 H 318.4°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#7D2F92
RGBrgb(125, 47, 146)
HSLhsl(287, 51%, 38%)
HSVhsv(287, 68%, 57%)
CMYKcmyk(14.4%, 67.8%, 0%, 42.7%)
CIE-LABlab(34.94, 48.58, -39.43)
CIE-LCHlch(34.94, 62.57, 320.94°)
OKLaboklab(46.02% 0.1244 -0.1104)
OKLCHoklch(46.02% 0.166 318.4)
XYZxyz(14.6616, 8.4690, 28.0509)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F92 #44922F
analogous
#4C2F92 #7D2F92 #922F75
triadic
#7D2F92 #927D2F #2F927D
tetradic
#7D2F92 #924C2F #44922F #2F7592
square
#7D2F92 #924C2F #44922F #2F7592
split-complementary
#7D2F92 #75922F #2F924C
monochromatic
#2E1135 #552064 #7D2F92 #A53EC0 #BA6CD0

Accessibility & contrast

On white

7.80
#7D2F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D2F92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F92
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F92#FFFFFF#000000##FFFFFF
##7D2F921.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074D95
Deuteranopia (green-blind)
#345590
Tritanopia (blue-blind)
#7D415C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d2f92;
/* rgb */ color: rgb(125, 47, 146);
/* oklch */ color: oklch(46.0% 0.166 318.4);
Tailwind
colors: {
  custom: {
    50: '#a66eb2',
    500: '#7d2f92',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f92;
$custom-light: #a66eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f92",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 146
  },
  "hsl": {
    "h": 287.273,
    "s": 51.295,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46024,
    "c": 0.16631,
    "h": 318.4
  },
  "luminance": 0.08468
}

Semantic roles & 50–950 ramp

primary
#7D2F92
secondary
#77B766
accent
#DB4D6B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2F92

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

Preview Lab → · Contrast checker → · Palette generator →

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