#7B29A9#7B29A9

#7B29A9 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.195 H 310.0°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#7B29A9
RGBrgb(123, 41, 169)
HSLhsl(278, 61%, 41%)
HSVhsv(278, 76%, 66%)
CMYKcmyk(27.2%, 75.7%, 0%, 33.7%)
CIE-LABlab(35.32, 55.55, -52.75)
CIE-LCHlch(35.32, 76.60, 316.48°)
OKLaboklab(46.74% 0.1255 -0.1495)
OKLCHoklch(46.74% 0.195 310)
XYZxyz(16.1213, 8.6617, 38.3511)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29A9 #57A929
analogous
#3B29A9 #7B29A9 #A92997
triadic
#7B29A9 #A97B29 #29A97B
tetradic
#7B29A9 #A93B29 #57A929 #2997A9
square
#7B29A9 #A93B29 #57A929 #2997A9
split-complementary
#7B29A9 #97A929 #29A93B
monochromatic
#331146 #571D78 #7B29A9 #9C3FD0 #B570DC

Accessibility & contrast

On white

7.69
#7B29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#7B29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29A9
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29A9#FFFFFF#000000##FFFFFF
##7B29A91.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#0554A6
Tritanopia (blue-blind)
#744767
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b29a9;
/* rgb */ color: rgb(123, 41, 169);
/* oklch */ color: oklch(46.7% 0.195 310.0);
Tailwind
colors: {
  custom: {
    50: '#a66cc3',
    500: '#7b29a9',
    950: '#000000',
  },
}
SCSS
$custom: #7b29a9;
$custom-light: #a66cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29a9",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 278.438,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.46735,
    "c": 0.19521,
    "h": 310
  },
  "luminance": 0.08661
}

Semantic roles & 50–950 ramp

primary
#7B29A9
secondary
#8AC36A
accent
#E4447D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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