#7B29AC#7B29AC

#7B29AC is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.198 H 309.1°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7B29AC
RGBrgb(123, 41, 172)
HSLhsl(278, 62%, 42%)
HSVhsv(278, 76%, 67%)
CMYKcmyk(28.5%, 76.2%, 0%, 32.5%)
CIE-LABlab(35.55, 56.20, -54.18)
CIE-LCHlch(35.55, 78.07, 316.05°)
OKLaboklab(46.96% 0.1249 -0.1537)
OKLCHoklch(46.96% 0.198 309.1)
XYZxyz(16.4062, 8.7757, 39.8513)
Luminance0.0877 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29AC #5AAC29
analogous
#3A29AC #7B29AC #AC299C
triadic
#7B29AC #AC7B29 #29AC7B
tetradic
#7B29AC #AC3A29 #5AAC29 #299CAC
square
#7B29AC #AC3A29 #5AAC29 #299CAC
split-complementary
#7B29AC #9CAC29 #29AC3A
monochromatic
#341149 #581D7B #7B29AC #9B41D2 #B572DD

Accessibility & contrast

On white

7.62
#7B29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7B29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29AC
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29AC#FFFFFF#000000##FFFFFF
##7B29AC1.007.622.757.62
#FFFFFF7.621.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#744969
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b29ac;
/* rgb */ color: rgb(123, 41, 172);
/* oklch */ color: oklch(47.0% 0.198 309.1);
Tailwind
colors: {
  custom: {
    50: '#a66cc6',
    500: '#7b29ac',
    950: '#000000',
  },
}
SCSS
$custom: #7b29ac;
$custom-light: #a66cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29ac",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 277.557,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46964,
    "c": 0.19809,
    "h": 309.1
  },
  "luminance": 0.08775
}

Semantic roles & 50–950 ramp

primary
#7B29AC
secondary
#8DC56C
accent
#E54380
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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