#7D249A#7D249A

#7D249A is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.187 H 316.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#7D249A
RGBrgb(125, 36, 154)
HSLhsl(285, 62%, 37%)
HSVhsv(285, 77%, 60%)
CMYKcmyk(18.8%, 76.6%, 0%, 39.6%)
CIE-LABlab(33.89, 54.68, -46.00)
CIE-LCHlch(33.89, 71.45, 319.93°)
OKLaboklab(45.44% 0.1352 -0.1296)
OKLCHoklch(45.44% 0.187 316.2)
XYZxyz(14.9202, 7.9554, 31.3152)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249A #419A24
analogous
#42249A #7D249A #9A247C
triadic
#7D249A #9A7D24 #249A7D
tetradic
#7D249A #9A4224 #419A24 #247C9A
square
#7D249A #9A4224 #419A24 #247C9A
split-complementary
#7D249A #7C9A24 #249A42
monochromatic
#2C0D37 #551868 #7D249A #A530CC #BB5FDA

Accessibility & contrast

On white

8.10
#7D249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D249A
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249A#FFFFFF#000000##FFFFFF
##7D249A1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#235297
Tritanopia (blue-blind)
#7B3E5E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d249a;
/* rgb */ color: rgb(125, 36, 154);
/* oklch */ color: oklch(45.4% 0.187 316.2);
Tailwind
colors: {
  custom: {
    50: '#a769b8',
    500: '#7d249a',
    950: '#000000',
  },
}
SCSS
$custom: #7d249a;
$custom-light: #a769b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249a",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 285.254,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45442,
    "c": 0.18731,
    "h": 316.2
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#7D249A
secondary
#74BF5B
accent
#E5436B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D249A

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

Preview Lab → · Contrast checker → · Palette generator →

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