#7C299A#7C299A

#7C299A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.181 H 315.4°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#7C299A
RGBrgb(124, 41, 154)
HSLhsl(284, 58%, 38%)
HSVhsv(284, 73%, 60%)
CMYKcmyk(19.5%, 73.4%, 0%, 39.6%)
CIE-LABlab(34.41, 52.56, -45.18)
CIE-LCHlch(34.41, 69.31, 319.32°)
OKLaboklab(45.78% 0.1291 -0.1273)
OKLCHoklch(45.78% 0.181 315.4)
XYZxyz(14.9369, 8.2046, 31.3624)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C299A #479A29
analogous
#43299A #7C299A #9A297F
triadic
#7C299A #9A7C29 #299A7C
tetradic
#7C299A #9A4329 #479A29 #297F9A
square
#7C299A #9A4329 #479A29 #297F9A
split-complementary
#7C299A #7F9A29 #299A43
monochromatic
#2E0F39 #551C6A #7C299A #A337CA #B967D7

Accessibility & contrast

On white

7.95
#7C299A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#7C299A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C299A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C299A#FFFFFF#000000##FFFFFF
##7C299A1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9D
Deuteranopia (green-blind)
#265397
Tritanopia (blue-blind)
#7A415F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #7c299a;
/* rgb */ color: rgb(124, 41, 154);
/* oklch */ color: oklch(45.8% 0.181 315.4);
Tailwind
colors: {
  custom: {
    50: '#a66bb8',
    500: '#7c299a',
    950: '#000000',
  },
}
SCSS
$custom: #7c299a;
$custom-light: #a66bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c299a",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 154
  },
  "hsl": {
    "h": 284.071,
    "s": 57.949,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45777,
    "c": 0.18126,
    "h": 315.4
  },
  "luminance": 0.08204
}

Semantic roles & 50–950 ramp

primary
#7C299A
secondary
#7ABD62
accent
#E14770
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C299A

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

Preview Lab → · Contrast checker → · Palette generator →

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