#7C429D#7C429D

#7C429D is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.1% C 0.149 H 311.6°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7C429D
RGBrgb(124, 66, 157)
HSLhsl(278, 41%, 44%)
HSVhsv(278, 58%, 62%)
CMYKcmyk(21%, 58%, 0%, 38.4%)
CIE-LABlab(38.93, 41.30, -39.75)
CIE-LCHlch(38.93, 57.32, 316.09°)
OKLaboklab(49.1% 0.0988 -0.1115)
OKLCHoklch(49.1% 0.149 311.6)
XYZxyz(16.3451, 10.6162, 33.0798)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C429D #639D42
analogous
#4E429D #7C429D #9D4290
triadic
#7C429D #9D7C42 #429D7C
tetradic
#7C429D #9D4E42 #639D42 #42909D
square
#7C429D #9D4E42 #639D42 #42909D
split-complementary
#7C429D #909D42 #429D4E
monochromatic
#381E47 #5A3072 #7C429D #9B60BC #B68BCE

Accessibility & contrast

On white

6.72
#7C429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7C429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7C429D
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C429D#FFFFFF#000000##FFFFFF
##7C429D1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2659A0
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#785269
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7c429d;
/* rgb */ color: rgb(124, 66, 157);
/* oklch */ color: oklch(49.1% 0.149 311.6);
Tailwind
colors: {
  custom: {
    50: '#a479ba',
    500: '#7c429d',
    950: '#000000',
  },
}
SCSS
$custom: #7c429d;
$custom-light: #a479ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c429d",
  "rgb": {
    "r": 124,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 278.242,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.14902,
    "h": 311.6
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#7C429D
secondary
#96B982
accent
#D15783
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7C429D

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

Preview Lab → · Contrast checker → · Palette generator →

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