#7D248B#7D248B

#7D248B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.174 H 321.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#7D248B
RGBrgb(125, 36, 139)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 55%)
CMYKcmyk(10.1%, 74.1%, 0%, 45.5%)
CIE-LABlab(32.89, 51.73, -38.41)
CIE-LCHlch(32.89, 64.43, 323.41°)
OKLaboklab(44.41% 0.1368 -0.1074)
OKLCHoklch(44.41% 0.174 321.9)
XYZxyz(13.7480, 7.4866, 25.1420)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D248B #328B24
analogous
#4A248B #7D248B #8B2466
triadic
#7D248B #8B7D24 #248B7D
tetradic
#7D248B #8B4A24 #328B24 #24668B
square
#7D248B #8B4A24 #328B24 #24668B
split-complementary
#7D248B #668B24 #248B4A
monochromatic
#260B2A #51175A #7D248B #A931BC #C256D3

Accessibility & contrast

On white

8.41
#7D248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D248B
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D248B#FFFFFF#000000##FFFFFF
##7D248B1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#325189
Tritanopia (blue-blind)
#7E3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d248b;
/* rgb */ color: rgb(125, 36, 139);
/* oklch */ color: oklch(44.4% 0.174 321.9);
Tailwind
colors: {
  custom: {
    50: '#a668ad',
    500: '#7d248b',
    950: '#000000',
  },
}
SCSS
$custom: #7d248b;
$custom-light: #a668ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7d248b",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 291.845,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44413,
    "c": 0.17387,
    "h": 321.9
  },
  "luminance": 0.07486
}

Semantic roles & 50–950 ramp

primary
#7D248B
secondary
#61B753
accent
#E2465B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D248B

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

Preview Lab → · Contrast checker → · Palette generator →

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