#7C249E#7C249E

#7C249E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.191 H 314.4°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7C249E
RGBrgb(124, 36, 158)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(21.5%, 77.2%, 0%, 38%)
CIE-LABlab(34.02, 55.29, -48.23)
CIE-LCHlch(34.02, 73.38, 318.90°)
OKLaboklab(45.59% 0.1333 -0.1362)
OKLCHoklch(45.59% 0.191 314.4)
XYZxyz(15.1136, 8.0160, 33.0922)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249E #469E24
analogous
#3F249E #7C249E #9E2483
triadic
#7C249E #9E7C24 #249E7C
tetradic
#7C249E #9E3F24 #469E24 #24839E
square
#7C249E #9E3F24 #469E24 #24839E
split-complementary
#7C249E #839E24 #249E3F
monochromatic
#2E0D3A #55196C #7C249E #A32FD0 #B961DB

Accessibility & contrast

On white

8.07
#7C249E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7C249E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C249E
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249E#FFFFFF#000000##FFFFFF
##7C249E1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA1
Deuteranopia (green-blind)
#1B529B
Tritanopia (blue-blind)
#794060
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c249e;
/* rgb */ color: rgb(124, 36, 158);
/* oklch */ color: oklch(45.6% 0.191 314.4);
Tailwind
colors: {
  custom: {
    50: '#a669bb',
    500: '#7c249e',
    950: '#000000',
  },
}
SCSS
$custom: #7c249e;
$custom-light: #a669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249e",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 158
  },
  "hsl": {
    "h": 283.279,
    "s": 62.887,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45589,
    "c": 0.19059,
    "h": 314.4
  },
  "luminance": 0.08015
}

Semantic roles & 50–950 ramp

primary
#7C249E
secondary
#79C05E
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C249E

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

Preview Lab → · Contrast checker → · Palette generator →

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