#7C2EC0#7C2EC0

#7C2EC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.213 H 303.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7C2EC0
RGBrgb(124, 46, 192)
HSLhsl(272, 61%, 47%)
HSVhsv(272, 76%, 75%)
CMYKcmyk(35.4%, 76%, 0%, 24.7%)
CIE-LABlab(37.92, 58.91, -62.16)
CIE-LCHlch(37.92, 85.63, 313.46°)
OKLaboklab(49.15% 0.1175 -0.1772)
OKLCHoklch(49.15% 0.213 303.6)
XYZxyz(18.8014, 10.0449, 50.8073)
Luminance0.1004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2EC0 #72C02E
analogous
#332EC0 #7C2EC0 #C02EBB
triadic
#7C2EC0 #C07C2E #2EC07C
tetradic
#7C2EC0 #C0332E #72C02E #2EBBC0
square
#7C2EC0 #C0332E #72C02E #2EBBC0
split-complementary
#7C2EC0 #BBC02E #2EC033
monochromatic
#3C165D #5C228F #7C2EC0 #9A55D6 #B786E2

Accessibility & contrast

On white

6.98
#7C2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7C2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C2EC0
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2EC0#FFFFFF#000000##FFFFFF
##7C2EC01.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2ec0;
/* rgb */ color: rgb(124, 46, 192);
/* oklch */ color: oklch(49.1% 0.213 303.6);
Tailwind
colors: {
  custom: {
    50: '#a86fd4',
    500: '#7c2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #7c2ec0;
$custom-light: #a86fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2ec0",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 272.055,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49147,
    "c": 0.21261,
    "h": 303.6
  },
  "luminance": 0.10045
}

Semantic roles & 50–950 ramp

primary
#7C2EC0
secondary
#A2CC7E
accent
#E4438E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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