#7C2CC0#7C2CC0

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

Color values

HEX#7C2CC0
RGBrgb(124, 44, 192)
HSLhsl(272, 63%, 46%)
HSVhsv(272, 77%, 75%)
CMYKcmyk(35.4%, 77.1%, 0%, 24.7%)
CIE-LABlab(37.65, 59.69, -62.60)
CIE-LCHlch(37.65, 86.50, 313.64°)
OKLaboklab(48.95% 0.1192 -0.1785)
OKLCHoklch(48.95% 0.215 303.7)
XYZxyz(18.7251, 9.8923, 50.7819)
Luminance0.0989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CC0 #70C02C
analogous
#322CC0 #7C2CC0 #C02CBA
triadic
#7C2CC0 #C07C2C #2CC07C
tetradic
#7C2CC0 #C0322C #70C02C #2CBAC0
square
#7C2CC0 #C0322C #70C02C #2CBAC0
split-complementary
#7C2CC0 #BAC02C #2CC032
monochromatic
#3C155C #5C218E #7C2CC0 #9A52D7 #B784E3

Accessibility & contrast

On white

7.05
#7C2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#7C2CC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CC0
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CC0#FFFFFF#000000##FFFFFF
##7C2CC01.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0058BD
Tritanopia (blue-blind)
#6E5375
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7c2cc0;
/* rgb */ color: rgb(124, 44, 192);
/* oklch */ color: oklch(49.0% 0.215 303.7);
Tailwind
colors: {
  custom: {
    50: '#a86ed4',
    500: '#7c2cc0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cc0;
$custom-light: #a86ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cc0",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 192
  },
  "hsl": {
    "h": 272.432,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48954,
    "c": 0.21464,
    "h": 303.7
  },
  "luminance": 0.09892
}

Semantic roles & 50–950 ramp

primary
#7C2CC0
secondary
#A1CC7C
accent
#E6428D
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2CC0

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

Preview Lab → · Contrast checker → · Palette generator →

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