#7D246F#7D246F

#7D246F is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.150 H 334.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7D246F
RGBrgb(125, 36, 111)
HSLhsl(309, 55%, 32%)
HSVhsv(309, 71%, 49%)
CMYKcmyk(0%, 71.2%, 11.2%, 51%)
CIE-LABlab(31.28, 46.75, -23.39)
CIE-LCHlch(31.28, 52.28, 333.42°)
OKLaboklab(42.73% 0.1361 -0.0638)
OKLCHoklch(42.73% 0.15 334.9)
XYZxyz(11.9577, 6.7704, 15.7129)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D246F #247D32
analogous
#5F247D #7D246F #7D2443
triadic
#7D246F #6F7D24 #246F7D
tetradic
#7D246F #7D5F24 #247D32 #24437D
square
#7D246F #7D5F24 #247D32 #24437D
split-complementary
#7D246F #437D24 #247D5F
monochromatic
#1E091B #4D1645 #7D246F #AD3299 #CC4FB9

Accessibility & contrast

On white

8.92
#7D246F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7D246F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D246F
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D246F#FFFFFF#000000##FFFFFF
##7D246F1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#424E6D
Tritanopia (blue-blind)
#832B46
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d246f;
/* rgb */ color: rgb(125, 36, 111);
/* oklch */ color: oklch(42.7% 0.150 334.9);
Tailwind
colors: {
  custom: {
    50: '#a66798',
    500: '#7d246f',
    950: '#000000',
  },
}
SCSS
$custom: #7d246f;
$custom-light: #a66798;
$custom-dark: #000000;
JSON
{
  "hex": "#7d246f",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 111
  },
  "hsl": {
    "h": 309.438,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42734,
    "c": 0.15033,
    "h": 334.9
  },
  "luminance": 0.06769
}

Semantic roles & 50–950 ramp

primary
#7D246F
secondary
#4DAF5D
accent
#DF6149
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7D246F

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

Preview Lab → · Contrast checker → · Palette generator →

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