#7C299F#7C299F

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

Color values

HEX#7C299F
RGBrgb(124, 41, 159)
HSLhsl(282, 59%, 39%)
HSVhsv(282, 74%, 62%)
CMYKcmyk(22%, 74.2%, 0%, 37.6%)
CIE-LABlab(34.75, 53.60, -47.65)
CIE-LCHlch(34.75, 71.72, 318.36°)
OKLaboklab(46.13% 0.1284 -0.1345)
OKLCHoklch(46.13% 0.186 313.7)
XYZxyz(15.3620, 8.3747, 33.6014)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C299F #4C9F29
analogous
#41299F #7C299F #9F2987
triadic
#7C299F #9F7C29 #299F7C
tetradic
#7C299F #9F4129 #4C9F29 #29879F
square
#7C299F #9F4129 #4C9F29 #29879F
split-complementary
#7C299F #879F29 #299F41
monochromatic
#30103E #561C6E #7C299F #A039CC #B86AD9

Accessibility & contrast

On white

7.85
#7C299F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C299F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C299F#FFFFFF#000000##FFFFFF
##7C299F1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#20549C
Tritanopia (blue-blind)
#784362
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7c299f;
/* rgb */ color: rgb(124, 41, 159);
/* oklch */ color: oklch(46.1% 0.186 313.7);
Tailwind
colors: {
  custom: {
    50: '#a66bbc',
    500: '#7c299f',
    950: '#000000',
  },
}
SCSS
$custom: #7c299f;
$custom-light: #a66bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c299f",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 159
  },
  "hsl": {
    "h": 282.203,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.18599,
    "h": 313.7
  },
  "luminance": 0.08374
}

Semantic roles & 50–950 ramp

primary
#7C299F
secondary
#80BF65
accent
#E24674
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C299F

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

Preview Lab → · Contrast checker → · Palette generator →

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