#7B29B6#7B29B6

#7B29B6 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.208 H 306.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7B29B6
RGBrgb(123, 41, 182)
HSLhsl(275, 63%, 44%)
HSVhsv(275, 77%, 71%)
CMYKcmyk(32.4%, 77.5%, 0%, 28.6%)
CIE-LABlab(36.32, 58.41, -58.88)
CIE-LCHlch(36.32, 82.94, 314.77°)
OKLaboklab(47.75% 0.1228 -0.1676)
OKLCHoklch(47.75% 0.208 306.2)
XYZxyz(17.4030, 9.1744, 45.1009)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29B6 #64B629
analogous
#3529B6 #7B29B6 #B629AA
triadic
#7B29B6 #B67B29 #29B67B
tetradic
#7B29B6 #B63529 #64B629 #29AAB6
square
#7B29B6 #B63529 #64B629 #29AAB6
split-complementary
#7B29B6 #AAB629 #29B635
monochromatic
#371252 #591E84 #7B29B6 #9A47D5 #B579E1

Accessibility & contrast

On white

7.41
#7B29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7B29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29B6
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29B6#FFFFFF#000000##FFFFFF
##7B29B61.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0056B3
Tritanopia (blue-blind)
#704D6F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b29b6;
/* rgb */ color: rgb(123, 41, 182);
/* oklch */ color: oklch(47.7% 0.208 306.2);
Tailwind
colors: {
  custom: {
    50: '#a76ccd',
    500: '#7b29b6',
    950: '#000000',
  },
}
SCSS
$custom: #7b29b6;
$custom-light: #a76ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29b6",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 274.894,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.20771,
    "h": 306.2
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#7B29B6
secondary
#96C972
accent
#E64286
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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