#7C2CB5#7C2CB5

#7C2CB5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.204 H 306.7°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7C2CB5
RGBrgb(124, 44, 181)
HSLhsl(275, 61%, 44%)
HSVhsv(275, 76%, 71%)
CMYKcmyk(31.5%, 75.7%, 0%, 29%)
CIE-LABlab(36.79, 57.20, -57.52)
CIE-LCHlch(36.79, 81.12, 314.84°)
OKLaboklab(48.08% 0.1217 -0.1635)
OKLCHoklch(48.08% 0.204 306.7)
XYZxyz(17.5515, 9.4228, 44.6013)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2CB5 #65B52C
analogous
#372CB5 #7C2CB5 #B52CAA
triadic
#7C2CB5 #B57C2C #2CB57C
tetradic
#7C2CB5 #B5372C #65B52C #2CAAB5
square
#7C2CB5 #B5372C #65B52C #2CAAB5
split-complementary
#7C2CB5 #AAB52C #2CB537
monochromatic
#391453 #5A2084 #7C2CB5 #9B4BD3 #B67CDF

Accessibility & contrast

On white

7.28
#7C2CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7C2CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2CB5
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2CB5#FFFFFF#000000##FFFFFF
##7C2CB51.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#724E6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c2cb5;
/* rgb */ color: rgb(124, 44, 181);
/* oklch */ color: oklch(48.1% 0.204 306.7);
Tailwind
colors: {
  custom: {
    50: '#a76ecc',
    500: '#7c2cb5',
    950: '#000000',
  },
}
SCSS
$custom: #7c2cb5;
$custom-light: #a76ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2cb5",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 275.036,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48079,
    "c": 0.20388,
    "h": 306.7
  },
  "luminance": 0.09423
}

Semantic roles & 50–950 ramp

primary
#7C2CB5
secondary
#97C875
accent
#E44486
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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