#7D249E#7D249E

#7D249E is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.191 H 314.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7D249E
RGBrgb(125, 36, 158)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.9%, 77.2%, 0%, 38%)
CIE-LABlab(34.17, 55.49, -47.97)
CIE-LCHlch(34.17, 73.35, 319.15°)
OKLaboklab(45.73% 0.1346 -0.1354)
OKLCHoklch(45.73% 0.191 314.8)
XYZxyz(15.2589, 8.0909, 33.0990)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249E #459E24
analogous
#40249E #7D249E #9E2482
triadic
#7D249E #9E7D24 #249E7D
tetradic
#7D249E #9E4024 #459E24 #24829E
square
#7D249E #9E4024 #459E24 #24829E
split-complementary
#7D249E #829E24 #249E40
monochromatic
#2E0D3A #56196C #7D249E #A42FD0 #BA61DB

Accessibility & contrast

On white

8.02
#7D249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D249E
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249E#FFFFFF#000000##FFFFFF
##7D249E1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#1D539B
Tritanopia (blue-blind)
#7A4060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d249e;
/* rgb */ color: rgb(125, 36, 158);
/* oklch */ color: oklch(45.7% 0.191 314.8);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7d249e',
    950: '#000000',
  },
}
SCSS
$custom: #7d249e;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249e",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 283.77,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.4573,
    "c": 0.19093,
    "h": 314.8
  },
  "luminance": 0.0809
}

Semantic roles & 50–950 ramp

primary
#7D249E
secondary
#78C05E
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D249E

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

Preview Lab → · Contrast checker → · Palette generator →

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