#7C2DAE#7C2DAE

#7C2DAE is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.6% C 0.196 H 308.6°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7C2DAE
RGBrgb(124, 45, 174)
HSLhsl(277, 59%, 43%)
HSVhsv(277, 74%, 68%)
CMYKcmyk(28.7%, 74.1%, 0%, 31.8%)
CIE-LABlab(36.40, 55.23, -53.99)
CIE-LCHlch(36.40, 77.24, 315.65°)
OKLaboklab(47.64% 0.1222 -0.1532)
OKLCHoklch(47.64% 0.196 308.6)
XYZxyz(16.8890, 9.2181, 40.9258)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2DAE #5FAE2D
analogous
#3B2DAE #7C2DAE #AE2D9F
triadic
#7C2DAE #AE7C2D #2DAE7C
tetradic
#7C2DAE #AE3B2D #5FAE2D #2D9FAE
square
#7C2DAE #AE3B2D #5FAE2D #2D9FAE
split-complementary
#7C2DAE #9FAE2D #2DAE3B
monochromatic
#37144D #59207D #7C2DAE #9B48D0 #B679DC

Accessibility & contrast

On white

7.39
#7C2DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7C2DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2DAE
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2DAE#FFFFFF#000000##FFFFFF
##7C2DAE1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c2dae;
/* rgb */ color: rgb(124, 45, 174);
/* oklch */ color: oklch(47.6% 0.196 308.6);
Tailwind
colors: {
  custom: {
    50: '#a76ec7',
    500: '#7c2dae',
    950: '#000000',
  },
}
SCSS
$custom: #7c2dae;
$custom-light: #a76ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2dae",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 276.744,
    "s": 58.904,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47642,
    "c": 0.19591,
    "h": 308.6
  },
  "luminance": 0.09218
}

Semantic roles & 50–950 ramp

primary
#7C2DAE
secondary
#92C472
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7C2DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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