#7C2AC8#7C2AC8

#7C2AC8 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.224 H 302.0°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#7C2AC8
RGBrgb(124, 42, 200)
HSLhsl(271, 65%, 47%)
HSVhsv(271, 79%, 78%)
CMYKcmyk(38%, 79%, 0%, 21.6%)
CIE-LABlab(38.04, 62.28, -66.64)
CIE-LCHlch(38.04, 91.21, 313.06°)
OKLaboklab(49.43% 0.1187 -0.1903)
OKLCHoklch(49.43% 0.224 302)
XYZxyz(19.5629, 10.1111, 55.5534)
Luminance0.1011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2AC8 #76C82A
analogous
#2D2AC8 #7C2AC8 #C82AC5
triadic
#7C2AC8 #C87C2A #2AC87C
tetradic
#7C2AC8 #C82D2A #76C82A #2AC5C8
square
#7C2AC8 #C82D2A #76C82A #2AC5C8
split-complementary
#7C2AC8 #C5C82A #2AC82D
monochromatic
#3D1563 #5D1F95 #7C2AC8 #9A54DB #B887E6

Accessibility & contrast

On white

6.95
#7C2AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7C2AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2AC8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2AC8#FFFFFF#000000##FFFFFF
##7C2AC81.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2ac8;
/* rgb */ color: rgb(124, 42, 200);
/* oklch */ color: oklch(49.4% 0.224 302.0);
Tailwind
colors: {
  custom: {
    50: '#a96eda',
    500: '#7c2ac8',
    950: '#000000',
  },
}
SCSS
$custom: #7c2ac8;
$custom-light: #a96eda;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2ac8",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 200
  },
  "hsl": {
    "h": 271.139,
    "s": 65.289,
    "l": 47.451
  },
  "oklch": {
    "l": 0.49431,
    "c": 0.22431,
    "h": 302
  },
  "luminance": 0.10111
}

Semantic roles & 50–950 ramp

primary
#7C2AC8
secondary
#A5CF7F
accent
#E84091
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110815
muted
#807A83

Preview Lab

Preview with #7C2AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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