#7C248D#7C248D

#7C248D is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.175 H 320.6°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7C248D
RGBrgb(124, 36, 141)
HSLhsl(290, 59%, 35%)
HSVhsv(290, 74%, 55%)
CMYKcmyk(12.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(32.86, 51.90, -39.71)
CIE-LCHlch(32.86, 65.34, 322.58°)
OKLaboklab(44.4% 0.1354 -0.1112)
OKLCHoklch(44.4% 0.175 320.6)
XYZxyz(13.7502, 7.4706, 25.9118)
Luminance0.0747 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C248D #358D24
analogous
#48248D #7C248D #8D2469
triadic
#7C248D #8D7C24 #248D7C
tetradic
#7C248D #8D4824 #358D24 #24698D
square
#7C248D #8D4824 #358D24 #24698D
split-complementary
#7C248D #698D24 #248D48
monochromatic
#260B2B #51185C #7C248D #A730BE #C057D4

Accessibility & contrast

On white

8.42
#7C248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C248D
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C248D#FFFFFF#000000##FFFFFF
##7C248D1.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2F508B
Tritanopia (blue-blind)
#7D3856
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c248d;
/* rgb */ color: rgb(124, 36, 141);
/* oklch */ color: oklch(44.4% 0.175 320.6);
Tailwind
colors: {
  custom: {
    50: '#a568af',
    500: '#7c248d',
    950: '#000000',
  },
}
SCSS
$custom: #7c248d;
$custom-light: #a568af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c248d",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 290.286,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44397,
    "c": 0.17521,
    "h": 320.6
  },
  "luminance": 0.0747
}

Semantic roles & 50–950 ramp

primary
#7C248D
secondary
#65B854
accent
#E3455F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C248D

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

Preview Lab → · Contrast checker → · Palette generator →

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