#7C248F#7C248F

#7C248F is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.5% C 0.177 H 319.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7C248F
RGBrgb(124, 36, 143)
HSLhsl(289, 60%, 35%)
HSVhsv(289, 75%, 56%)
CMYKcmyk(13.3%, 74.8%, 0%, 43.9%)
CIE-LABlab(32.99, 52.29, -40.73)
CIE-LCHlch(32.99, 66.28, 322.08°)
OKLaboklab(44.53% 0.1352 -0.1142)
OKLCHoklch(44.53% 0.177 319.8)
XYZxyz(13.9004, 7.5307, 26.7027)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C248F #378F24
analogous
#47248F #7C248F #8F246C
triadic
#7C248F #8F7C24 #248F7C
tetradic
#7C248F #8F4724 #378F24 #246C8F
square
#7C248F #8F4724 #378F24 #246C8F
split-complementary
#7C248F #6C8F24 #248F47
monochromatic
#270B2D #52185E #7C248F #A630C0 #BF58D5

Accessibility & contrast

On white

8.38
#7C248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7C248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C248F
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C248F#FFFFFF#000000##FFFFFF
##7C248F1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#2D518D
Tritanopia (blue-blind)
#7C3958
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c248f;
/* rgb */ color: rgb(124, 36, 143);
/* oklch */ color: oklch(44.5% 0.177 319.8);
Tailwind
colors: {
  custom: {
    50: '#a568b0',
    500: '#7c248f',
    950: '#000000',
  },
}
SCSS
$custom: #7c248f;
$custom-light: #a568b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c248f",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 289.346,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44532,
    "c": 0.17699,
    "h": 319.8
  },
  "luminance": 0.0753
}

Semantic roles & 50–950 ramp

primary
#7C248F
secondary
#67B955
accent
#E34561
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C248F

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

Preview Lab → · Contrast checker → · Palette generator →

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