#7C248A#7C248A

#7C248A is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 321.8°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#7C248A
RGBrgb(124, 36, 138)
HSLhsl(292, 59%, 34%)
HSVhsv(292, 74%, 54%)
CMYKcmyk(10.1%, 73.9%, 0%, 45.9%)
CIE-LABlab(32.66, 51.32, -38.16)
CIE-LCHlch(32.66, 63.95, 323.36°)
OKLaboklab(44.2% 0.1356 -0.1067)
OKLCHoklch(44.2% 0.173 321.8)
XYZxyz(13.5300, 7.3826, 24.7521)
Luminance0.0738 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C248A #328A24
analogous
#49248A #7C248A #8A2465
triadic
#7C248A #8A7C24 #248A7C
tetradic
#7C248A #8A4924 #328A24 #24658A
square
#7C248A #8A4924 #328A24 #24658A
split-complementary
#7C248A #658A24 #248A49
monochromatic
#250B29 #501759 #7C248A #A831BB #C256D3

Accessibility & contrast

On white

8.48
#7C248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#7C248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C248A
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C248A#FFFFFF#000000##FFFFFF
##7C248A1.008.482.488.48
#FFFFFF8.481.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#315088
Tritanopia (blue-blind)
#7D3755
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c248a;
/* rgb */ color: rgb(124, 36, 138);
/* oklch */ color: oklch(44.2% 0.173 321.8);
Tailwind
colors: {
  custom: {
    50: '#a568ad',
    500: '#7c248a',
    950: '#000000',
  },
}
SCSS
$custom: #7c248a;
$custom-light: #a568ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c248a",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 291.765,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.17254,
    "h": 321.8
  },
  "luminance": 0.07382
}

Semantic roles & 50–950 ramp

primary
#7C248A
secondary
#61B753
accent
#E2465B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C248A

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

Preview Lab → · Contrast checker → · Palette generator →

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