#7D429E#7D429E

#7D429E is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.151 H 311.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7D429E
RGBrgb(125, 66, 158)
HSLhsl(278, 41%, 44%)
HSVhsv(278, 58%, 62%)
CMYKcmyk(20.9%, 58.2%, 0%, 38%)
CIE-LABlab(39.11, 41.79, -40.04)
CIE-LCHlch(39.11, 57.88, 316.22°)
OKLaboklab(49.29% 0.1002 -0.1123)
OKLCHoklch(49.29% 0.151 311.7)
XYZxyz(16.5761, 10.7254, 33.5381)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D429E #639E42
analogous
#4F429E #7D429E #9E4291
triadic
#7D429E #9E7D42 #429E7D
tetradic
#7D429E #9E4F42 #639E42 #42919E
square
#7D429E #9E4F42 #639E42 #42919E
split-complementary
#7D429E #919E42 #429E4F
monochromatic
#391E48 #5B3073 #7D429E #9C60BD #B78CCF

Accessibility & contrast

On white

6.68
#7D429E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7D429E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D429E
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D429E#FFFFFF#000000##FFFFFF
##7D429E1.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A1
Deuteranopia (green-blind)
#3B5D9C
Tritanopia (blue-blind)
#795269
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7d429e;
/* rgb */ color: rgb(125, 66, 158);
/* oklch */ color: oklch(49.3% 0.151 311.7);
Tailwind
colors: {
  custom: {
    50: '#a579bb',
    500: '#7d429e',
    950: '#000000',
  },
}
SCSS
$custom: #7d429e;
$custom-light: #a579bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7d429e",
  "rgb": {
    "r": 125,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 278.478,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49286,
    "c": 0.15053,
    "h": 311.7
  },
  "luminance": 0.10725
}

Semantic roles & 50–950 ramp

primary
#7D429E
secondary
#96BA82
accent
#D15783
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#100912
muted
#7F7B81

Preview Lab

Preview with #7D429E

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

Preview Lab → · Contrast checker → · Palette generator →

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