#7D248A#7D248A

#7D248A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.173 H 322.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#7D248A
RGBrgb(125, 36, 138)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(9.4%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.83, 51.54, -37.89)
CIE-LCHlch(32.83, 63.97, 323.68°)
OKLaboklab(44.35% 0.1368 -0.1058)
OKLCHoklch(44.35% 0.173 322.3)
XYZxyz(13.6753, 7.4575, 24.7590)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D248A #318A24
analogous
#4A248A #7D248A #8A2464
triadic
#7D248A #8A7D24 #248A7D
tetradic
#7D248A #8A4A24 #318A24 #24648A
square
#7D248A #8A4A24 #318A24 #24648A
split-complementary
#7D248A #648A24 #248A4A
monochromatic
#250B29 #511759 #7D248A #A931BB #C356D3

Accessibility & contrast

On white

8.43
#7D248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7D248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D248A
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D248A#FFFFFF#000000##FFFFFF
##7D248A1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#335188
Tritanopia (blue-blind)
#7F3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d248a;
/* rgb */ color: rgb(125, 36, 138);
/* oklch */ color: oklch(44.3% 0.173 322.3);
Tailwind
colors: {
  custom: {
    50: '#a668ad',
    500: '#7d248a',
    950: '#000000',
  },
}
SCSS
$custom: #7d248a;
$custom-light: #a668ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d248a",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 292.353,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44347,
    "c": 0.17299,
    "h": 322.3
  },
  "luminance": 0.07457
}

Semantic roles & 50–950 ramp

primary
#7D248A
secondary
#60B753
accent
#E2465A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D248A

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

Preview Lab → · Contrast checker → · Palette generator →

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