#7C2CC7#7C2CC7

#7C2CC7 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.221 H 302.0°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#7C2CC7
RGBrgb(124, 44, 199)
HSLhsl(271, 64%, 48%)
HSVhsv(271, 78%, 78%)
CMYKcmyk(37.7%, 77.9%, 0%, 22%)
CIE-LABlab(38.22, 61.30, -65.77)
CIE-LCHlch(38.22, 89.91, 312.99°)
OKLaboklab(49.53% 0.1174 -0.1878)
OKLCHoklch(49.53% 0.221 302)
XYZxyz(19.5192, 10.2099, 54.9641)
Luminance0.1021 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CC7 #77C72C
analogous
#2F2CC7 #7C2CC7 #C72CC4
triadic
#7C2CC7 #C77C2C #2CC77C
tetradic
#7C2CC7 #C72F2C #77C72C #2CC4C7
square
#7C2CC7 #C72F2C #77C72C #2CC4C7
split-complementary
#7C2CC7 #C4C72C #2CC72F
monochromatic
#3E1663 #5D2195 #7C2CC7 #9A56DA #B889E5

Accessibility & contrast

On white

6.90
#7C2CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#7C2CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2CC7
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CC7#FFFFFF#000000##FFFFFF
##7C2CC71.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#6C5579
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c2cc7;
/* rgb */ color: rgb(124, 44, 199);
/* oklch */ color: oklch(49.5% 0.221 302.0);
Tailwind
colors: {
  custom: {
    50: '#a96ed9',
    500: '#7c2cc7',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cc7;
$custom-light: #a96ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cc7",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 270.968,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.49528,
    "c": 0.22148,
    "h": 302
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#7C2CC7
secondary
#A6CF80
accent
#E74191
background
#FAF7FD
surface
#F5EDFB
border
#CFC8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C2CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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