#7C248C#7C248C

#7C248C is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.174 H 321.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C248C
RGBrgb(124, 36, 140)
HSLhsl(291, 59%, 35%)
HSVhsv(291, 74%, 55%)
CMYKcmyk(11.4%, 74.3%, 0%, 45.1%)
CIE-LABlab(32.79, 51.70, -39.19)
CIE-LCHlch(32.79, 64.88, 322.84°)
OKLaboklab(44.33% 0.1355 -0.1097)
OKLCHoklch(44.33% 0.174 321)
XYZxyz(13.6761, 7.4410, 25.5218)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C248C #348C24
analogous
#48248C #7C248C #8C2468
triadic
#7C248C #8C7C24 #248C7C
tetradic
#7C248C #8C4824 #348C24 #24688C
square
#7C248C #8C4824 #348C24 #24688C
split-complementary
#7C248C #688C24 #248C48
monochromatic
#260B2B #51175B #7C248C #A731BD #C057D4

Accessibility & contrast

On white

8.44
#7C248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C248C
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C248C#FFFFFF#000000##FFFFFF
##7C248C1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478F
Deuteranopia (green-blind)
#30508A
Tritanopia (blue-blind)
#7D3856
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c248c;
/* rgb */ color: rgb(124, 36, 140);
/* oklch */ color: oklch(44.3% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#a568ae',
    500: '#7c248c',
    950: '#000000',
  },
}
SCSS
$custom: #7c248c;
$custom-light: #a568ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c248c",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 290.769,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.4433,
    "c": 0.17431,
    "h": 321
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#7C248C
secondary
#63B854
accent
#E2465E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C248C

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

Preview Lab → · Contrast checker → · Palette generator →

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