#7D248D#7D248D

#7D248D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 321.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#7D248D
RGBrgb(125, 36, 141)
HSLhsl(291, 59%, 35%)
HSVhsv(291, 74%, 55%)
CMYKcmyk(11.3%, 74.5%, 0%, 44.7%)
CIE-LABlab(33.02, 52.12, -39.44)
CIE-LCHlch(33.02, 65.35, 322.88°)
OKLaboklab(44.55% 0.1366 -0.1104)
OKLCHoklch(44.55% 0.176 321.1)
XYZxyz(13.8955, 7.5456, 25.9187)
Luminance0.0755 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D248D #348D24
analogous
#49248D #7D248D #8D2469
triadic
#7D248D #8D7D24 #248D7D
tetradic
#7D248D #8D4924 #348D24 #24698D
square
#7D248D #8D4924 #348D24 #24698D
split-complementary
#7D248D #698D24 #248D49
monochromatic
#270B2B #52185C #7D248D #A830BE #C157D4

Accessibility & contrast

On white

8.37
#7D248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D248D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D248D#FFFFFF#000000##FFFFFF
##7D248D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#30518B
Tritanopia (blue-blind)
#7E3856
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d248d;
/* rgb */ color: rgb(125, 36, 141);
/* oklch */ color: oklch(44.5% 0.176 321.1);
Tailwind
colors: {
  custom: {
    50: '#a668af',
    500: '#7d248d',
    950: '#000000',
  },
}
SCSS
$custom: #7d248d;
$custom-light: #a668af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d248d",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 290.857,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44545,
    "c": 0.17565,
    "h": 321.1
  },
  "luminance": 0.07545
}

Semantic roles & 50–950 ramp

primary
#7D248D
secondary
#64B854
accent
#E3455D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D248D

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

Preview Lab → · Contrast checker → · Palette generator →

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