#7E2CC5#7E2CC5

#7E2CC5 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.220 H 303.3°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#7E2CC5
RGBrgb(126, 44, 197)
HSLhsl(272, 63%, 47%)
HSVhsv(272, 78%, 77%)
CMYKcmyk(36%, 77.7%, 0%, 22.7%)
CIE-LABlab(38.32, 61.17, -64.42)
CIE-LCHlch(38.32, 88.83, 313.51°)
OKLaboklab(49.61% 0.1208 -0.1838)
OKLCHoklch(49.61% 0.22 303.3)
XYZxyz(19.5805, 10.2682, 53.7629)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E2CC5 #73C52C
analogous
#322CC5 #7E2CC5 #C52CBF
triadic
#7E2CC5 #C57E2C #2CC57E
tetradic
#7E2CC5 #C5322C #73C52C #2CBFC5
square
#7E2CC5 #C5322C #73C52C #2CBFC5
split-complementary
#7E2CC5 #BFC52C #2CC532
monochromatic
#3E1661 #5E2193 #7E2CC5 #9C55D9 #B987E4

Accessibility & contrast

On white

6.88
#7E2CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7E2CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E2CC5
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E2CC5#FFFFFF#000000##FFFFFF
##7E2CC51.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#6F5478
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7e2cc5;
/* rgb */ color: rgb(126, 44, 197);
/* oklch */ color: oklch(49.6% 0.220 303.3);
Tailwind
colors: {
  custom: {
    50: '#aa6fd8',
    500: '#7e2cc5',
    950: '#000000',
  },
}
SCSS
$custom: #7e2cc5;
$custom-light: #aa6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e2cc5",
  "rgb": {
    "r": 126,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 272.157,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.49606,
    "c": 0.2199,
    "h": 303.3
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#7E2CC5
secondary
#A4CE7F
accent
#E7418E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7E2CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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