#7C249F#7C249F

#7C249F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.192 H 314.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7C249F
RGBrgb(124, 36, 159)
HSLhsl(283, 63%, 38%)
HSVhsv(283, 77%, 62%)
CMYKcmyk(22%, 77.4%, 0%, 37.6%)
CIE-LABlab(34.09, 55.50, -48.72)
CIE-LCHlch(34.09, 73.85, 318.72°)
OKLaboklab(45.66% 0.1332 -0.1376)
OKLCHoklch(45.66% 0.192 314.1)
XYZxyz(15.2000, 8.0506, 33.5474)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C249F #479F24
analogous
#3E249F #7C249F #9F2484
triadic
#7C249F #9F7C24 #249F7C
tetradic
#7C249F #9F3E24 #479F24 #24849F
square
#7C249F #9F3E24 #479F24 #24849F
split-complementary
#7C249F #849F24 #249F3E
monochromatic
#2E0D3B #55196D #7C249F #A330D0 #B962DB

Accessibility & contrast

On white

8.05
#7C249F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7C249F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C249F
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C249F#FFFFFF#000000##FFFFFF
##7C249F1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA2
Deuteranopia (green-blind)
#1A529C
Tritanopia (blue-blind)
#794061
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c249f;
/* rgb */ color: rgb(124, 36, 159);
/* oklch */ color: oklch(45.7% 0.192 314.1);
Tailwind
colors: {
  custom: {
    50: '#a669bc',
    500: '#7c249f',
    950: '#000000',
  },
}
SCSS
$custom: #7c249f;
$custom-light: #a669bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c249f",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 159
  },
  "hsl": {
    "h": 282.927,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.45663,
    "c": 0.1915,
    "h": 314.1
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#7C249F
secondary
#7AC15E
accent
#E64270
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C249F

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

Preview Lab → · Contrast checker → · Palette generator →

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