#7B29AD#7B29AD

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

Color values

HEX#7B29AD
RGBrgb(123, 41, 173)
HSLhsl(277, 62%, 42%)
HSVhsv(277, 76%, 68%)
CMYKcmyk(28.9%, 76.3%, 0%, 32.2%)
CIE-LABlab(35.62, 56.42, -54.66)
CIE-LCHlch(35.62, 78.55, 315.91°)
OKLaboklab(47.04% 0.1247 -0.1551)
OKLCHoklch(47.04% 0.199 308.8)
XYZxyz(16.5026, 8.8143, 40.3590)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29AD #5BAD29
analogous
#3929AD #7B29AD #AD299D
triadic
#7B29AD #AD7B29 #29AD7B
tetradic
#7B29AD #AD3929 #5BAD29 #299DAD
square
#7B29AD #AD3929 #5BAD29 #299DAD
split-complementary
#7B29AD #9DAD29 #29AD39
monochromatic
#35124A #581D7C #7B29AD #9B41D2 #B573DE

Accessibility & contrast

On white

7.60
#7B29AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7B29AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29AD
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29AD#FFFFFF#000000##FFFFFF
##7B29AD1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0055AA
Tritanopia (blue-blind)
#73496A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b29ad;
/* rgb */ color: rgb(123, 41, 173);
/* oklch */ color: oklch(47.0% 0.199 308.8);
Tailwind
colors: {
  custom: {
    50: '#a66cc6',
    500: '#7b29ad',
    950: '#000000',
  },
}
SCSS
$custom: #7b29ad;
$custom-light: #a66cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29ad",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 173
  },
  "hsl": {
    "h": 277.273,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47041,
    "c": 0.19906,
    "h": 308.8
  },
  "luminance": 0.08814
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7B29AD

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

Preview Lab → · Contrast checker → · Palette generator →

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