#7C2CC1#7C2CC1

#7C2CC1 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.0% C 0.216 H 303.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7C2CC1
RGBrgb(124, 44, 193)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 76%)
CMYKcmyk(35.8%, 77.2%, 0%, 24.3%)
CIE-LABlab(37.73, 59.92, -63.06)
CIE-LCHlch(37.73, 86.99, 313.54°)
OKLaboklab(49.04% 0.119 -0.1798)
OKLCHoklch(49.04% 0.216 303.5)
XYZxyz(18.8362, 9.9367, 51.3674)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CC1 #71C12C
analogous
#322CC1 #7C2CC1 #C12CBC
triadic
#7C2CC1 #C17C2C #2CC17C
tetradic
#7C2CC1 #C1322C #71C12C #2CBCC1
square
#7C2CC1 #C1322C #71C12C #2CBCC1
split-complementary
#7C2CC1 #BCC12C #2CC132
monochromatic
#3C155D #5C218F #7C2CC1 #9A53D8 #B784E3

Accessibility & contrast

On white

7.03
#7C2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#7C2CC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CC1
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CC1#FFFFFF#000000##FFFFFF
##7C2CC11.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C5
Deuteranopia (green-blind)
#0058BE
Tritanopia (blue-blind)
#6E5376
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2cc1;
/* rgb */ color: rgb(124, 44, 193);
/* oklch */ color: oklch(49.0% 0.216 303.5);
Tailwind
colors: {
  custom: {
    50: '#a86ed5',
    500: '#7c2cc1',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cc1;
$custom-light: #a86ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cc1",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 272.215,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49035,
    "c": 0.21562,
    "h": 303.5
  },
  "luminance": 0.09937
}

Semantic roles & 50–950 ramp

primary
#7C2CC1
secondary
#A1CC7D
accent
#E6428E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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