#7D299E#7D299E

#7D299E is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.2% C 0.185 H 314.5°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#7D299E
RGBrgb(125, 41, 158)
HSLhsl(283, 59%, 39%)
HSVhsv(283, 74%, 62%)
CMYKcmyk(20.9%, 74.1%, 0%, 38%)
CIE-LABlab(34.83, 53.60, -46.91)
CIE-LCHlch(34.83, 71.23, 318.81°)
OKLaboklab(46.2% 0.1299 -0.1323)
OKLCHoklch(46.2% 0.185 314.5)
XYZxyz(15.4209, 8.4150, 33.1531)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D299E #4A9E29
analogous
#43299E #7D299E #9E2985
triadic
#7D299E #9E7D29 #299E7D
tetradic
#7D299E #9E4329 #4A9E29 #29859E
square
#7D299E #9E4329 #4A9E29 #29859E
split-complementary
#7D299E #859E29 #299E43
monochromatic
#30103D #571C6D #7D299E #A239CC #B969D8

Accessibility & contrast

On white

7.83
#7D299E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#7D299E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D299E
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D299E#FFFFFF#000000##FFFFFF
##7D299E1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA1
Deuteranopia (green-blind)
#23549B
Tritanopia (blue-blind)
#7A4261
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7d299e;
/* rgb */ color: rgb(125, 41, 158);
/* oklch */ color: oklch(46.2% 0.185 314.5);
Tailwind
colors: {
  custom: {
    50: '#a76bbb',
    500: '#7d299e',
    950: '#000000',
  },
}
SCSS
$custom: #7d299e;
$custom-light: #a76bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d299e",
  "rgb": {
    "r": 125,
    "g": 41,
    "b": 158
  },
  "hsl": {
    "h": 283.077,
    "s": 58.794,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46199,
    "c": 0.1854,
    "h": 314.5
  },
  "luminance": 0.08414
}

Semantic roles & 50–950 ramp

primary
#7D299E
secondary
#7EBF64
accent
#E24672
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7D299E

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

Preview Lab → · Contrast checker → · Palette generator →

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