#7C2A93#7C2A93

#7C2A93 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.173 H 317.9°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7C2A93
RGBrgb(124, 42, 147)
HSLhsl(287, 56%, 37%)
HSVhsv(287, 71%, 58%)
CMYKcmyk(15.6%, 71.4%, 0%, 42.4%)
CIE-LABlab(34.08, 50.71, -41.42)
CIE-LCHlch(34.08, 65.48, 320.76°)
OKLaboklab(45.4% 0.1287 -0.1163)
OKLCHoklch(45.4% 0.173 317.9)
XYZxyz(14.4059, 8.0482, 28.3927)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A93 #41932A
analogous
#472A93 #7C2A93 #932A76
triadic
#7C2A93 #937C2A #2A937C
tetradic
#7C2A93 #93472A #41932A #2A7693
square
#7C2A93 #93472A #41932A #2A7693
split-complementary
#7C2A93 #76932A #2A9347
monochromatic
#2C0F34 #541C63 #7C2A93 #A438C3 #BB65D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7C2A93#FFFFFF#000000##FFFFFF
##7C2A931.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)
#004B96
Deuteranopia (green-blind)
#2E5391
Tritanopia (blue-blind)
#7B3E5B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7c2a93;
/* rgb */ color: rgb(124, 42, 147);
/* oklch */ color: oklch(45.4% 0.173 317.9);
Tailwind
colors: {
  custom: {
    50: '#a56bb3',
    500: '#7c2a93',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a93;
$custom-light: #a56bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a93",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 147
  },
  "hsl": {
    "h": 286.857,
    "s": 55.556,
    "l": 37.059
  },
  "oklch": {
    "l": 0.45398,
    "c": 0.17343,
    "h": 317.9
  },
  "luminance": 0.08048
}

Semantic roles & 50–950 ramp

primary
#7C2A93
secondary
#73B960
accent
#DF496A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2A93

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

Preview Lab → · Contrast checker → · Palette generator →

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