#7D299F#7D299F

#7D299F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.186 H 314.1°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#7D299F
RGBrgb(125, 41, 159)
HSLhsl(283, 59%, 39%)
HSVhsv(283, 74%, 62%)
CMYKcmyk(21.4%, 74.2%, 0%, 37.6%)
CIE-LABlab(34.90, 53.81, -47.40)
CIE-LCHlch(34.90, 71.71, 318.62°)
OKLaboklab(46.27% 0.1298 -0.1337)
OKLCHoklch(46.27% 0.186 314.1)
XYZxyz(15.5073, 8.4496, 33.6082)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D299F #4B9F29
analogous
#42299F #7D299F #9F2986
triadic
#7D299F #9F7D29 #299F7D
tetradic
#7D299F #9F4229 #4B9F29 #29869F
square
#7D299F #9F4229 #4B9F29 #29869F
split-complementary
#7D299F #869F29 #299F42
monochromatic
#31103E #571C6E #7D299F #A239CC #B96AD9

Accessibility & contrast

On white

7.81
#7D299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#7D299F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D299F
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D299F#FFFFFF#000000##FFFFFF
##7D299F1.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#21549C
Tritanopia (blue-blind)
#7A4362
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d299f;
/* rgb */ color: rgb(125, 41, 159);
/* oklch */ color: oklch(46.3% 0.186 314.1);
Tailwind
colors: {
  custom: {
    50: '#a76bbc',
    500: '#7d299f',
    950: '#000000',
  },
}
SCSS
$custom: #7d299f;
$custom-light: #a76bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d299f",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 282.712,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4627,
    "c": 0.18634,
    "h": 314.1
  },
  "luminance": 0.08449
}

Semantic roles & 50–950 ramp

primary
#7D299F
secondary
#7FBF65
accent
#E24673
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D299F

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

Preview Lab → · Contrast checker → · Palette generator →

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