#7C299C#7C299C

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

Color values

HEX#7C299C
RGBrgb(124, 41, 156)
HSLhsl(283, 58%, 39%)
HSVhsv(283, 74%, 61%)
CMYKcmyk(20.5%, 73.7%, 0%, 38.8%)
CIE-LABlab(34.54, 52.97, -46.17)
CIE-LCHlch(34.54, 70.27, 318.93°)
OKLaboklab(45.92% 0.1288 -0.1302)
OKLCHoklch(45.92% 0.183 314.7)
XYZxyz(15.1049, 8.2718, 32.2470)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C299C #499C29
analogous
#42299C #7C299C #9C2982
triadic
#7C299C #9C7C29 #299C7C
tetradic
#7C299C #9C4229 #499C29 #29829C
square
#7C299C #9C4229 #499C29 #29829C
split-complementary
#7C299C #829C29 #299C42
monochromatic
#2F103B #551C6C #7C299C #A238CB #B868D7

Accessibility & contrast

On white

7.91
#7C299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#7C299C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C299C
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C299C#FFFFFF#000000##FFFFFF
##7C299C1.007.912.657.91
#FFFFFF7.911.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9F
Deuteranopia (green-blind)
#245399
Tritanopia (blue-blind)
#794260
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c299c;
/* rgb */ color: rgb(124, 41, 156);
/* oklch */ color: oklch(45.9% 0.183 314.7);
Tailwind
colors: {
  custom: {
    50: '#a66bba',
    500: '#7c299c',
    950: '#000000',
  },
}
SCSS
$custom: #7c299c;
$custom-light: #a66bba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c299c",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 283.304,
    "s": 58.376,
    "l": 38.627
  },
  "oklch": {
    "l": 0.45918,
    "c": 0.18315,
    "h": 314.7
  },
  "luminance": 0.08271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C299C

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

Preview Lab → · Contrast checker → · Palette generator →

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