#7D249C#7D249C

#7D249C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.189 H 315.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7D249C
RGBrgb(125, 36, 156)
HSLhsl(285, 63%, 38%)
HSVhsv(285, 77%, 61%)
CMYKcmyk(19.9%, 76.9%, 0%, 38.8%)
CIE-LABlab(34.03, 55.08, -46.99)
CIE-LCHlch(34.03, 72.40, 319.53°)
OKLaboklab(45.59% 0.1349 -0.1325)
OKLCHoklch(45.59% 0.189 315.5)
XYZxyz(15.0881, 8.0226, 32.1998)
Luminance0.0802 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249C #439C24
analogous
#41249C #7D249C #9C247F
triadic
#7D249C #9C7D24 #249C7D
tetradic
#7D249C #9C4124 #439C24 #247F9C
square
#7D249C #9C4124 #439C24 #247F9C
split-complementary
#7D249C #7F9C24 #249C41
monochromatic
#2D0D39 #55196A #7D249C #A52FCE #BB60DA

Accessibility & contrast

On white

8.06
#7D249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D249C
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249C#FFFFFF#000000##FFFFFF
##7D249C1.008.062.608.06
#FFFFFF8.061.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#205299
Tritanopia (blue-blind)
#7B3F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d249c;
/* rgb */ color: rgb(125, 36, 156);
/* oklch */ color: oklch(45.6% 0.189 315.5);
Tailwind
colors: {
  custom: {
    50: '#a769ba',
    500: '#7d249c',
    950: '#000000',
  },
}
SCSS
$custom: #7d249c;
$custom-light: #a769ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249c",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 284.5,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45586,
    "c": 0.18912,
    "h": 315.5
  },
  "luminance": 0.08022
}

Semantic roles & 50–950 ramp

primary
#7D249C
secondary
#76BF5C
accent
#E6426C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D249C

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

Preview Lab → · Contrast checker → · Palette generator →

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