#7C2CA3#7C2CA3

#7C2CA3 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.7% C 0.186 H 312.1°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7C2CA3
RGBrgb(124, 44, 163)
HSLhsl(280, 57%, 41%)
HSVhsv(280, 73%, 64%)
CMYKcmyk(23.9%, 73%, 0%, 36.1%)
CIE-LABlab(35.46, 53.24, -48.92)
CIE-LCHlch(35.46, 72.30, 317.42°)
OKLaboklab(46.73% 0.1249 -0.1383)
OKLCHoklch(46.73% 0.186 312.1)
XYZxyz(15.8225, 8.7312, 35.4950)
Luminance0.0873 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CA3 #53A32C
analogous
#402CA3 #7C2CA3 #A32C8E
triadic
#7C2CA3 #A37C2C #2CA37C
tetradic
#7C2CA3 #A3402C #53A32C #2C8EA3
square
#7C2CA3 #A3402C #53A32C #2C8EA3
split-complementary
#7C2CA3 #8EA32C #2CA340
monochromatic
#331243 #571F73 #7C2CA3 #9E41CC #B771D9

Accessibility & contrast

On white

7.65
#7C2CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7C2CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CA3
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CA3#FFFFFF#000000##FFFFFF
##7C2CA31.007.652.757.65
#FFFFFF7.651.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A6
Deuteranopia (green-blind)
#1D55A0
Tritanopia (blue-blind)
#774665
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7c2ca3;
/* rgb */ color: rgb(124, 44, 163);
/* oklch */ color: oklch(46.7% 0.186 312.1);
Tailwind
colors: {
  custom: {
    50: '#a66dbf',
    500: '#7c2ca3',
    950: '#000000',
  },
}
SCSS
$custom: #7c2ca3;
$custom-light: #a66dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2ca3",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 280.336,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.46725,
    "c": 0.18632,
    "h": 312.1
  },
  "luminance": 0.08731
}

Semantic roles & 50–950 ramp

primary
#7C2CA3
secondary
#87C06B
accent
#E14779
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C2CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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