#7C2CC8#7C2CC8

#7C2CC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.222 H 301.8°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7C2CC8
RGBrgb(124, 44, 200)
HSLhsl(271, 64%, 48%)
HSVhsv(271, 78%, 78%)
CMYKcmyk(38%, 78%, 0%, 21.6%)
CIE-LABlab(38.30, 61.53, -66.22)
CIE-LCHlch(38.30, 90.39, 312.90°)
OKLaboklab(49.61% 0.1172 -0.1891)
OKLCHoklch(49.61% 0.222 301.8)
XYZxyz(19.6357, 10.2565, 55.5776)
Luminance0.1026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CC8 #78C82C
analogous
#2E2CC8 #7C2CC8 #C82CC6
triadic
#7C2CC8 #C87C2C #2CC87C
tetradic
#7C2CC8 #C82E2C #78C82C #2CC6C8
square
#7C2CC8 #C82E2C #78C82C #2CC6C8
split-complementary
#7C2CC8 #C6C82C #2CC82E
monochromatic
#3E1664 #5D2196 #7C2CC8 #9A57DA #B889E5

Accessibility & contrast

On white

6.88
#7C2CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7C2CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2CC8
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CC8#FFFFFF#000000##FFFFFF
##7C2CC81.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#6B567A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7c2cc8;
/* rgb */ color: rgb(124, 44, 200);
/* oklch */ color: oklch(49.6% 0.222 301.8);
Tailwind
colors: {
  custom: {
    50: '#a96fda',
    500: '#7c2cc8',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cc8;
$custom-light: #a96fda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cc8",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 200
  },
  "hsl": {
    "h": 270.769,
    "s": 63.934,
    "l": 47.843
  },
  "oklch": {
    "l": 0.49611,
    "c": 0.22246,
    "h": 301.8
  },
  "luminance": 0.10257
}

Semantic roles & 50–950 ramp

primary
#7C2CC8
secondary
#A7CF81
accent
#E74192
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #7C2CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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