#7B429E#7B429E

#7B429E is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.0% C 0.150 H 310.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7B429E
RGBrgb(123, 66, 158)
HSLhsl(277, 41%, 44%)
HSVhsv(277, 58%, 62%)
CMYKcmyk(22.2%, 58.2%, 0%, 38%)
CIE-LABlab(38.86, 41.26, -40.47)
CIE-LCHlch(38.86, 57.80, 315.56°)
OKLaboklab(49.04% 0.0976 -0.1136)
OKLCHoklch(49.04% 0.15 310.6)
XYZxyz(16.2870, 10.5763, 33.5246)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B429E #659E42
analogous
#4D429E #7B429E #9E4293
triadic
#7B429E #9E7B42 #429E7B
tetradic
#7B429E #9E4D42 #659E42 #42939E
square
#7B429E #9E4D42 #659E42 #42939E
split-complementary
#7B429E #939E42 #429E4D
monochromatic
#381E48 #593073 #7B429E #9A60BD #B58CCF

Accessibility & contrast

On white

6.74
#7B429E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7B429E
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B429E#FFFFFF#000000##FFFFFF
##7B429E1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2459A1
Deuteranopia (green-blind)
#3A5D9C
Tritanopia (blue-blind)
#775369
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7b429e;
/* rgb */ color: rgb(123, 66, 158);
/* oklch */ color: oklch(49.0% 0.150 310.6);
Tailwind
colors: {
  custom: {
    50: '#a479bb',
    500: '#7b429e',
    950: '#000000',
  },
}
SCSS
$custom: #7b429e;
$custom-light: #a479bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b429e",
  "rgb": {
    "r": 123,
    "g": 66,
    "b": 158
  },
  "hsl": {
    "h": 277.174,
    "s": 41.071,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49043,
    "c": 0.14978,
    "h": 310.6
  },
  "luminance": 0.10576
}

Semantic roles & 50–950 ramp

primary
#7B429E
secondary
#97BA82
accent
#D15785
background
#FAF7FB
surface
#F4EDF6
border
#CEC8D0
text
#0F0912
muted
#7F7B81

Preview Lab

Preview with #7B429E

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

Preview Lab → · Contrast checker → · Palette generator →

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