#7C249C#7C249C

#7C249C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.189 H 315.1°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7C249C
RGBrgb(124, 36, 156)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 61%)
CMYKcmyk(20.5%, 76.9%, 0%, 38.8%)
CIE-LABlab(33.87, 54.88, -47.25)
CIE-LCHlch(33.87, 72.42, 319.28°)
OKLaboklab(45.44% 0.1336 -0.1333)
OKLCHoklch(45.44% 0.189 315.1)
XYZxyz(14.9428, 7.9477, 32.1930)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249C #449C24
analogous
#40249C #7C249C #9C2480
triadic
#7C249C #9C7C24 #249C7C
tetradic
#7C249C #9C4024 #449C24 #24809C
square
#7C249C #9C4024 #449C24 #24809C
split-complementary
#7C249C #809C24 #249C40
monochromatic
#2D0D39 #54196A #7C249C #A42FCE #BA60DA

Accessibility & contrast

On white

8.11
#7C249C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7C249C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C249C
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249C#FFFFFF#000000##FFFFFF
##7C249C1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9F
Deuteranopia (green-blind)
#1F5299
Tritanopia (blue-blind)
#793F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c249c;
/* rgb */ color: rgb(124, 36, 156);
/* oklch */ color: oklch(45.4% 0.189 315.1);
Tailwind
colors: {
  custom: {
    50: '#a669ba',
    500: '#7c249c',
    950: '#000000',
  },
}
SCSS
$custom: #7c249c;
$custom-light: #a669ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249c",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 156
  },
  "hsl": {
    "h": 284,
    "s": 62.5,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45444,
    "c": 0.18876,
    "h": 315.1
  },
  "luminance": 0.07947
}

Semantic roles & 50–950 ramp

primary
#7C249C
secondary
#77BF5C
accent
#E6426E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C249C

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

Preview Lab → · Contrast checker → · Palette generator →

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