#7B429D#7B429D

#7B429D is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.149 H 311.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#7B429D
RGBrgb(123, 66, 157)
HSLhsl(278, 41%, 44%)
HSVhsv(278, 58%, 62%)
CMYKcmyk(21.7%, 58%, 0%, 38.4%)
CIE-LABlab(38.80, 41.03, -39.96)
CIE-LCHlch(38.80, 57.28, 315.76°)
OKLaboklab(48.98% 0.0975 -0.1122)
OKLCHoklch(48.98% 0.149 311)
XYZxyz(16.2013, 10.5420, 33.0731)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B429D #649D42
analogous
#4D429D #7B429D #9D4291
triadic
#7B429D #9D7B42 #429D7B
tetradic
#7B429D #9D4D42 #649D42 #42919D
square
#7B429D #9D4D42 #649D42 #42919D
split-complementary
#7B429D #919D42 #429D4D
monochromatic
#371E47 #593072 #7B429D #9A60BC #B58BCE

Accessibility & contrast

On white

6.76
#7B429D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#7B429D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B429D
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B429D#FFFFFF#000000##FFFFFF
##7B429D1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2559A0
Deuteranopia (green-blind)
#3A5C9B
Tritanopia (blue-blind)
#775269
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b429d;
/* rgb */ color: rgb(123, 66, 157);
/* oklch */ color: oklch(49.0% 0.149 311.0);
Tailwind
colors: {
  custom: {
    50: '#a479ba',
    500: '#7b429d',
    950: '#000000',
  },
}
SCSS
$custom: #7b429d;
$custom-light: #a479ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7b429d",
  "rgb": {
    "r": 123,
    "g": 66,
    "b": 157
  },
  "hsl": {
    "h": 277.582,
    "s": 40.807,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4898,
    "c": 0.14864,
    "h": 311
  },
  "luminance": 0.10542
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B429D

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

Preview Lab → · Contrast checker → · Palette generator →

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