#7D249D#7D249D

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

Color values

HEX#7D249D
RGBrgb(125, 36, 157)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(20.4%, 77.1%, 0%, 38.4%)
CIE-LABlab(34.10, 55.29, -47.48)
CIE-LCHlch(34.10, 72.88, 319.34°)
OKLaboklab(45.66% 0.1348 -0.134)
OKLCHoklch(45.66% 0.19 315.2)
XYZxyz(15.1731, 8.0566, 32.6476)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D249D #449D24
analogous
#40249D #7D249D #9D2480
triadic
#7D249D #9D7D24 #249D7D
tetradic
#7D249D #9D4024 #449D24 #24809D
square
#7D249D #9D4024 #449D24 #24809D
split-complementary
#7D249D #809D24 #249D40
monochromatic
#2E0D39 #55196B #7D249D #A52FCF #BA61DB

Accessibility & contrast

On white

8.04
#7D249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D249D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D249D
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D249D#FFFFFF#000000##FFFFFF
##7D249D1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1F529A
Tritanopia (blue-blind)
#7A3F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d249d;
/* rgb */ color: rgb(125, 36, 157);
/* oklch */ color: oklch(45.7% 0.190 315.2);
Tailwind
colors: {
  custom: {
    50: '#a769bb',
    500: '#7d249d',
    950: '#000000',
  },
}
SCSS
$custom: #7d249d;
$custom-light: #a769bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d249d",
  "rgb": {
    "r": 125,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 284.132,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.19003,
    "h": 315.2
  },
  "luminance": 0.08056
}

Semantic roles & 50–950 ramp

primary
#7D249D
secondary
#77C05D
accent
#E6426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D249D

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

Preview Lab → · Contrast checker → · Palette generator →

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