#7B29B4#7B29B4

#7B29B4 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.206 H 306.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7B29B4
RGBrgb(123, 41, 180)
HSLhsl(275, 63%, 43%)
HSVhsv(275, 77%, 71%)
CMYKcmyk(31.7%, 77.2%, 0%, 29.4%)
CIE-LABlab(36.16, 57.97, -57.95)
CIE-LCHlch(36.16, 81.97, 315.01°)
OKLaboklab(47.59% 0.1232 -0.1648)
OKLCHoklch(47.59% 0.206 306.8)
XYZxyz(17.1977, 9.0923, 44.0202)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29B4 #62B429
analogous
#3629B4 #7B29B4 #B429A7
triadic
#7B29B4 #B47B29 #29B47B
tetradic
#7B29B4 #B43629 #62B429 #29A7B4
square
#7B29B4 #B43629 #62B429 #29A7B4
split-complementary
#7B29B4 #A7B429 #29B436
monochromatic
#371250 #591E82 #7B29B4 #9A45D5 #B577E0

Accessibility & contrast

On white

7.45
#7B29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7B29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29B4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29B4#FFFFFF#000000##FFFFFF
##7B29B41.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0056B1
Tritanopia (blue-blind)
#714C6E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b29b4;
/* rgb */ color: rgb(123, 41, 180);
/* oklch */ color: oklch(47.6% 0.206 306.8);
Tailwind
colors: {
  custom: {
    50: '#a76ccb',
    500: '#7b29b4',
    950: '#000000',
  },
}
SCSS
$custom: #7b29b4;
$custom-light: #a76ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29b4",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 275.396,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47587,
    "c": 0.20578,
    "h": 306.8
  },
  "luminance": 0.09092
}

Semantic roles & 50–950 ramp

primary
#7B29B4
secondary
#95C871
accent
#E64285
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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