#7E4CC3#7E4CC3

#7E4CC3 is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.179 H 299.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#7E4CC3
RGBrgb(126, 76, 195)
HSLhsl(265, 50%, 53%)
HSVhsv(265, 61%, 76%)
CMYKcmyk(35.4%, 61%, 0%, 23.5%)
CIE-LABlab(43.57, 45.67, -54.74)
CIE-LCHlch(43.57, 71.29, 309.84°)
OKLaboklab(53.31% 0.0885 -0.1554)
OKLCHoklch(53.31% 0.179 299.7)
XYZxyz(21.0365, 13.5444, 53.1252)
Luminance0.1354 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E4CC3 #91C34C
analogous
#4C55C3 #7E4CC3 #B94CC3
triadic
#7E4CC3 #C37E4C #4CC37E
tetradic
#7E4CC3 #C34C55 #91C34C #4CC3B9
square
#7E4CC3 #C34C55 #91C34C #4CC3B9
split-complementary
#7E4CC3 #C3B94C #55C34C
monochromatic
#44256F #61359D #7E4CC3 #9F7AD2 #C0A8E2

Accessibility & contrast

On white

5.66
#7E4CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7E4CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E4CC3
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E4CC3#FFFFFF#000000##FFFFFF
##7E4CC31.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067C7
Deuteranopia (green-blind)
#2066C0
Tritanopia (blue-blind)
#6F6580
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e4cc3;
/* rgb */ color: rgb(126, 76, 195);
/* oklch */ color: oklch(53.3% 0.179 299.7);
Tailwind
colors: {
  custom: {
    50: '#a880d6',
    500: '#7e4cc3',
    950: '#000000',
  },
}
SCSS
$custom: #7e4cc3;
$custom-light: #a880d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7e4cc3",
  "rgb": {
    "r": 126,
    "g": 76,
    "b": 195
  },
  "hsl": {
    "h": 265.21,
    "s": 49.791,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.17889,
    "h": 299.7
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#7E4CC3
secondary
#B9CF9C
accent
#D94E9F
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7E4CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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