#7C249B#7C249B

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

Color values

HEX#7C249B
RGBrgb(124, 36, 155)
HSLhsl(284, 62%, 37%)
HSVhsv(284, 77%, 61%)
CMYKcmyk(20%, 76.8%, 0%, 39.2%)
CIE-LABlab(33.80, 54.68, -46.76)
CIE-LCHlch(33.80, 71.94, 319.47°)
OKLaboklab(45.37% 0.1338 -0.1319)
OKLCHoklch(45.37% 0.188 315.4)
XYZxyz(14.8585, 7.9140, 31.7489)
Luminance0.0791 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249B #439B24
analogous
#41249B #7C249B #9B247E
triadic
#7C249B #9B7C24 #249B7C
tetradic
#7C249B #9B4124 #439B24 #247E9B
square
#7C249B #9B4124 #439B24 #247E9B
split-complementary
#7C249B #7E9B24 #249B41
monochromatic
#2D0D38 #541869 #7C249B #A430CD #BA5FDA

Accessibility & contrast

On white

8.13
#7C249B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#7C249B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C249B
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249B#FFFFFF#000000##FFFFFF
##7C249B1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#205298
Tritanopia (blue-blind)
#7A3F5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c249b;
/* rgb */ color: rgb(124, 36, 155);
/* oklch */ color: oklch(45.4% 0.188 315.4);
Tailwind
colors: {
  custom: {
    50: '#a669b9',
    500: '#7c249b',
    950: '#000000',
  },
}
SCSS
$custom: #7c249b;
$custom-light: #a669b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249b",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 155
  },
  "hsl": {
    "h": 284.37,
    "s": 62.304,
    "l": 37.451
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.18785,
    "h": 315.4
  },
  "luminance": 0.07913
}

Semantic roles & 50–950 ramp

primary
#7C249B
secondary
#76BF5C
accent
#E5426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C249B

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

Preview Lab → · Contrast checker → · Palette generator →

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