#7C2EAE#7C2EAE

#7C2EAE is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.195 H 308.5°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7C2EAE
RGBrgb(124, 46, 174)
HSLhsl(277, 58%, 43%)
HSVhsv(277, 74%, 68%)
CMYKcmyk(28.7%, 73.6%, 0%, 31.8%)
CIE-LABlab(36.55, 54.82, -53.75)
CIE-LCHlch(36.55, 76.78, 315.56°)
OKLaboklab(47.75% 0.1212 -0.1525)
OKLCHoklch(47.75% 0.195 308.5)
XYZxyz(16.9276, 9.2953, 40.9386)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2EAE #60AE2E
analogous
#3C2EAE #7C2EAE #AE2EA0
triadic
#7C2EAE #AE7C2E #2EAE7C
tetradic
#7C2EAE #AE3C2E #60AE2E #2EA0AE
square
#7C2EAE #AE3C2E #60AE2E #2EA0AE
split-complementary
#7C2EAE #A0AE2E #2EAE3C
monochromatic
#37144D #5A217E #7C2EAE #9B4ACF #B67ADC

Accessibility & contrast

On white

7.35
#7C2EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7C2EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2EAE
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2EAE#FFFFFF#000000##FFFFFF
##7C2EAE1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0357AB
Tritanopia (blue-blind)
#744C6B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c2eae;
/* rgb */ color: rgb(124, 46, 174);
/* oklch */ color: oklch(47.7% 0.195 308.5);
Tailwind
colors: {
  custom: {
    50: '#a76ec7',
    500: '#7c2eae',
    950: '#000000',
  },
}
SCSS
$custom: #7c2eae;
$custom-light: #a76ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2eae",
  "rgb": {
    "r": 124,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 276.563,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.19477,
    "h": 308.5
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#7C2EAE
secondary
#93C474
accent
#E14683
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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