#7D299B#7D299B

#7D299B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.183 H 315.5°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#7D299B
RGBrgb(125, 41, 155)
HSLhsl(284, 58%, 38%)
HSVhsv(284, 74%, 61%)
CMYKcmyk(19.4%, 73.5%, 0%, 39.2%)
CIE-LABlab(34.63, 52.98, -45.42)
CIE-LCHlch(34.63, 69.78, 319.39°)
OKLaboklab(45.99% 0.1303 -0.1279)
OKLCHoklch(45.99% 0.183 315.5)
XYZxyz(15.1658, 8.3130, 31.8097)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D299B #479B29
analogous
#44299B #7D299B #9B2980
triadic
#7D299B #9B7D29 #299B7D
tetradic
#7D299B #9B4429 #479B29 #29809B
square
#7D299B #9B4429 #479B29 #29809B
split-complementary
#7D299B #809B29 #299B44
monochromatic
#2F0F3A #561C6B #7D299B #A337CA #BA67D7

Accessibility & contrast

On white

7.89
#7D299B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#7D299B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D299B
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D299B#FFFFFF#000000##FFFFFF
##7D299B1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9E
Deuteranopia (green-blind)
#265498
Tritanopia (blue-blind)
#7B4160
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7d299b;
/* rgb */ color: rgb(125, 41, 155);
/* oklch */ color: oklch(46.0% 0.183 315.5);
Tailwind
colors: {
  custom: {
    50: '#a66bb9',
    500: '#7d299b',
    950: '#000000',
  },
}
SCSS
$custom: #7d299b;
$custom-light: #a66bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d299b",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 155
  },
  "hsl": {
    "h": 284.211,
    "s": 58.163,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45986,
    "c": 0.18258,
    "h": 315.5
  },
  "luminance": 0.08312
}

Semantic roles & 50–950 ramp

primary
#7D299B
secondary
#7ABD63
accent
#E1466F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D299B

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

Preview Lab → · Contrast checker → · Palette generator →

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