#7D2F86#7D2F86

#7D2F86 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.155 H 323.4°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#7D2F86
RGBrgb(125, 47, 134)
HSLhsl(294, 48%, 35%)
HSVhsv(294, 65%, 53%)
CMYKcmyk(6.7%, 64.9%, 0%, 47.5%)
CIE-LABlab(34.22, 46.18, -33.19)
CIE-LCHlch(34.22, 56.87, 324.29°)
OKLaboklab(45.27% 0.1244 -0.0922)
OKLCHoklch(45.27% 0.155 323.4)
XYZxyz(13.7766, 8.1150, 23.3903)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F86 #38862F
analogous
#512F86 #7D2F86 #862F63
triadic
#7D2F86 #867D2F #2F867D
tetradic
#7D2F86 #86512F #38862F #2F6386
square
#7D2F86 #86512F #38862F #2F6386
split-complementary
#7D2F86 #63862F #2F8651
monochromatic
#280F2B #531F59 #7D2F86 #A73FB3 #BF66C9

Accessibility & contrast

On white

8.01
#7D2F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F86
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F86#FFFFFF#000000##FFFFFF
##7D2F861.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4B89
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#7F3C56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f86;
/* rgb */ color: rgb(125, 47, 134);
/* oklch */ color: oklch(45.3% 0.155 323.4);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7d2f86',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f86;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f86",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 134
  },
  "hsl": {
    "h": 293.793,
    "s": 48.066,
    "l": 35.49
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.15483,
    "h": 323.4
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#7D2F86
secondary
#69B060
accent
#D8505E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2F86

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

Preview Lab → · Contrast checker → · Palette generator →

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