#7C249A#7C249A

#7C249A is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.187 H 315.8°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#7C249A
RGBrgb(124, 36, 154)
HSLhsl(285, 62%, 37%)
HSVhsv(285, 77%, 60%)
CMYKcmyk(19.5%, 76.6%, 0%, 39.6%)
CIE-LABlab(33.73, 54.48, -46.26)
CIE-LCHlch(33.73, 71.47, 319.66°)
OKLaboklab(45.3% 0.1339 -0.1304)
OKLCHoklch(45.3% 0.187 315.8)
XYZxyz(14.7749, 7.8805, 31.3084)
Luminance0.0788 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249A #429A24
analogous
#41249A #7C249A #9A247D
triadic
#7C249A #9A7C24 #249A7C
tetradic
#7C249A #9A4124 #429A24 #247D9A
square
#7C249A #9A4124 #429A24 #247D9A
split-complementary
#7C249A #7D9A24 #249A41
monochromatic
#2C0D37 #541868 #7C249A #A430CC #BA5FDA

Accessibility & contrast

On white

8.15
#7C249A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C249A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C249A
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249A#FFFFFF#000000##FFFFFF
##7C249A1.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9D
Deuteranopia (green-blind)
#215297
Tritanopia (blue-blind)
#7A3E5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c249a;
/* rgb */ color: rgb(124, 36, 154);
/* oklch */ color: oklch(45.3% 0.187 315.8);
Tailwind
colors: {
  custom: {
    50: '#a669b8',
    500: '#7c249a',
    950: '#000000',
  },
}
SCSS
$custom: #7c249a;
$custom-light: #a669b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249a",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 154
  },
  "hsl": {
    "h": 284.746,
    "s": 62.105,
    "l": 37.255
  },
  "oklch": {
    "l": 0.45299,
    "c": 0.18694,
    "h": 315.8
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#7C249A
secondary
#75BF5B
accent
#E5436C
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C249A

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

Preview Lab → · Contrast checker → · Palette generator →

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