#7D249B#7D249B

#7D249B is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.188 H 315.9°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7D249B
RGBrgb(125, 36, 155)
HSLhsl(285, 62%, 37%)
HSVhsv(285, 77%, 61%)
CMYKcmyk(19.4%, 76.8%, 0%, 39.2%)
CIE-LABlab(33.96, 54.88, -46.50)
CIE-LCHlch(33.96, 71.93, 319.73°)
OKLaboklab(45.51% 0.1351 -0.1311)
OKLCHoklch(45.51% 0.188 315.9)
XYZxyz(15.0038, 7.9889, 31.7557)
Luminance0.0799 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249B #429B24
analogous
#41249B #7D249B #9B247E
triadic
#7D249B #9B7D24 #249B7D
tetradic
#7D249B #9B4124 #429B24 #247E9B
square
#7D249B #9B4124 #429B24 #247E9B
split-complementary
#7D249B #7E9B24 #249B41
monochromatic
#2D0D38 #551869 #7D249B #A530CD #BB5FDA

Accessibility & contrast

On white

8.08
#7D249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D249B
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249B#FFFFFF#000000##FFFFFF
##7D249B1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d249b;
/* rgb */ color: rgb(125, 36, 155);
/* oklch */ color: oklch(45.5% 0.188 315.9);
Tailwind
colors: {
  custom: {
    50: '#a769b9',
    500: '#7d249b',
    950: '#000000',
  },
}
SCSS
$custom: #7d249b;
$custom-light: #a769b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249b",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 284.874,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45514,
    "c": 0.18821,
    "h": 315.9
  },
  "luminance": 0.07988
}

Semantic roles & 50–950 ramp

primary
#7D249B
secondary
#75BF5C
accent
#E5426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D249B

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

Preview Lab → · Contrast checker → · Palette generator →

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