#7D299C#7D299C

#7D299C is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.184 H 315.2°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#7D299C
RGBrgb(125, 41, 156)
HSLhsl(284, 58%, 39%)
HSVhsv(284, 74%, 61%)
CMYKcmyk(19.9%, 73.7%, 0%, 38.8%)
CIE-LABlab(34.69, 53.18, -45.92)
CIE-LCHlch(34.69, 70.26, 319.19°)
OKLaboklab(46.06% 0.1301 -0.1294)
OKLCHoklch(46.06% 0.184 315.2)
XYZxyz(15.2502, 8.3467, 32.2538)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D299C #489C29
analogous
#43299C #7D299C #9C2981
triadic
#7D299C #9C7D29 #299C7D
tetradic
#7D299C #9C4329 #489C29 #29819C
square
#7D299C #9C4329 #489C29 #29819C
split-complementary
#7D299C #819C29 #299C43
monochromatic
#2F103B #561C6C #7D299C #A338CB #B968D7

Accessibility & contrast

On white

7.87
#7D299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7D299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D299C
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D299C#FFFFFF#000000##FFFFFF
##7D299C1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#255499
Tritanopia (blue-blind)
#7B4160
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d299c;
/* rgb */ color: rgb(125, 41, 156);
/* oklch */ color: oklch(46.1% 0.184 315.2);
Tailwind
colors: {
  custom: {
    50: '#a66bba',
    500: '#7d299c',
    950: '#000000',
  },
}
SCSS
$custom: #7d299c;
$custom-light: #a66bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7d299c",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 283.826,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46057,
    "c": 0.18352,
    "h": 315.2
  },
  "luminance": 0.08346
}

Semantic roles & 50–950 ramp

primary
#7D299C
secondary
#7CBE63
accent
#E24670
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D299C

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

Preview Lab → · Contrast checker → · Palette generator →

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