#7D249F#7D249F

#7D249F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.192 H 314.5°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#7D249F
RGBrgb(125, 36, 159)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(21.4%, 77.4%, 0%, 37.6%)
CIE-LABlab(34.24, 55.69, -48.47)
CIE-LCHlch(34.24, 73.83, 318.97°)
OKLaboklab(45.8% 0.1345 -0.1368)
OKLCHoklch(45.8% 0.192 314.5)
XYZxyz(15.3453, 8.1255, 33.5542)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249F #469F24
analogous
#40249F #7D249F #9F2483
triadic
#7D249F #9F7D24 #249F7D
tetradic
#7D249F #9F4024 #469F24 #24839F
square
#7D249F #9F4024 #469F24 #24839F
split-complementary
#7D249F #839F24 #249F40
monochromatic
#2F0D3B #56196D #7D249F #A430D0 #BA62DB

Accessibility & contrast

On white

8.00
#7D249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#7D249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D249F
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249F#FFFFFF#000000##FFFFFF
##7D249F1.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1C539C
Tritanopia (blue-blind)
#7A4061
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d249f;
/* rgb */ color: rgb(125, 36, 159);
/* oklch */ color: oklch(45.8% 0.192 314.5);
Tailwind
colors: {
  custom: {
    50: '#a769bc',
    500: '#7d249f',
    950: '#000000',
  },
}
SCSS
$custom: #7d249f;
$custom-light: #a769bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249f",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 283.415,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45803,
    "c": 0.19185,
    "h": 314.5
  },
  "luminance": 0.08125
}

Semantic roles & 50–950 ramp

primary
#7D249F
secondary
#79C15E
accent
#E6426F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D249F

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

Preview Lab → · Contrast checker → · Palette generator →

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