#7C249D#7C249D

#7C249D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.190 H 314.7°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7C249D
RGBrgb(124, 36, 157)
HSLhsl(284, 63%, 38%)
HSVhsv(284, 77%, 62%)
CMYKcmyk(21%, 77.1%, 0%, 38.4%)
CIE-LABlab(33.94, 55.09, -47.74)
CIE-LCHlch(33.94, 72.90, 319.09°)
OKLaboklab(45.52% 0.1335 -0.1347)
OKLCHoklch(45.52% 0.19 314.7)
XYZxyz(15.0278, 7.9817, 32.6408)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249D #459D24
analogous
#3F249D #7C249D #9D2482
triadic
#7C249D #9D7C24 #249D7C
tetradic
#7C249D #9D3F24 #459D24 #24829D
square
#7C249D #9D3F24 #459D24 #24829D
split-complementary
#7C249D #829D24 #249D3F
monochromatic
#2D0D39 #55196B #7C249D #A32FCF #B961DB

Accessibility & contrast

On white

8.09
#7C249D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C249D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249D#FFFFFF#000000##FFFFFF
##7C249D1.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BA0
Deuteranopia (green-blind)
#1D529A
Tritanopia (blue-blind)
#793F5F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c249d;
/* rgb */ color: rgb(124, 36, 157);
/* oklch */ color: oklch(45.5% 0.190 314.7);
Tailwind
colors: {
  custom: {
    50: '#a669bb',
    500: '#7c249d',
    950: '#000000',
  },
}
SCSS
$custom: #7c249d;
$custom-light: #a669bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249d",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 157
  },
  "hsl": {
    "h": 283.636,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.45516,
    "c": 0.18967,
    "h": 314.7
  },
  "luminance": 0.07981
}

Semantic roles & 50–950 ramp

primary
#7C249D
secondary
#78C05D
accent
#E6426F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C249D

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

Preview Lab → · Contrast checker → · Palette generator →

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