#7B429B#7B429B

#7B429B is a mid, vivid violet. Relative luminance 0.105; OKLCH L 48.9% C 0.146 H 311.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7B429B
RGBrgb(123, 66, 155)
HSLhsl(278, 40%, 43%)
HSVhsv(278, 57%, 61%)
CMYKcmyk(20.6%, 57.4%, 0%, 39.2%)
CIE-LABlab(38.68, 40.57, -38.95)
CIE-LCHlch(38.68, 56.24, 316.17°)
OKLaboklab(48.86% 0.0974 -0.1092)
OKLCHoklch(48.86% 0.146 311.7)
XYZxyz(16.0319, 10.4743, 32.1812)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B429B #629B42
analogous
#4E429B #7B429B #9B428E
triadic
#7B429B #9B7B42 #429B7B
tetradic
#7B429B #9B4E42 #629B42 #428E9B
square
#7B429B #9B4E42 #629B42 #428E9B
split-complementary
#7B429B #8E9B42 #429B4E
monochromatic
#371D45 #593070 #7B429B #9A5FBB #B58ACD

Accessibility & contrast

On white

6.79
#7B429B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7B429B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7B429B
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B429B#FFFFFF#000000##FFFFFF
##7B429B1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27589E
Deuteranopia (green-blind)
#3C5C99
Tritanopia (blue-blind)
#775268
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b429b;
/* rgb */ color: rgb(123, 66, 155);
/* oklch */ color: oklch(48.9% 0.146 311.7);
Tailwind
colors: {
  custom: {
    50: '#a479b9',
    500: '#7b429b',
    950: '#000000',
  },
}
SCSS
$custom: #7b429b;
$custom-light: #a479b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b429b",
  "rgb": {
    "r": 123,
    "g": 66,
    "b": 155
  },
  "hsl": {
    "h": 278.427,
    "s": 40.271,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48856,
    "c": 0.14635,
    "h": 311.7
  },
  "luminance": 0.10474
}

Semantic roles & 50–950 ramp

primary
#7B429B
secondary
#95B881
accent
#D05883
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #7B429B

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

Preview Lab → · Contrast checker → · Palette generator →

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