#7B29AB#7B29AB

#7B29AB is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.9% C 0.197 H 309.4°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7B29AB
RGBrgb(123, 41, 171)
HSLhsl(278, 61%, 42%)
HSVhsv(278, 76%, 67%)
CMYKcmyk(28.1%, 76%, 0%, 32.9%)
CIE-LABlab(35.47, 55.98, -53.71)
CIE-LCHlch(35.47, 77.58, 316.19°)
OKLaboklab(46.89% 0.1251 -0.1524)
OKLCHoklch(46.89% 0.197 309.4)
XYZxyz(16.3105, 8.7374, 39.3474)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29AB #59AB29
analogous
#3A29AB #7B29AB #AB299A
triadic
#7B29AB #AB7B29 #29AB7B
tetradic
#7B29AB #AB3A29 #59AB29 #299AAB
square
#7B29AB #AB3A29 #59AB29 #299AAB
split-complementary
#7B29AB #9AAB29 #29AB3A
monochromatic
#341148 #571D7A #7B29AB #9C40D1 #B571DD

Accessibility & contrast

On white

7.64
#7B29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7B29AB
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29AB#FFFFFF#000000##FFFFFF
##7B29AB1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0054A8
Tritanopia (blue-blind)
#744869
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7b29ab;
/* rgb */ color: rgb(123, 41, 171);
/* oklch */ color: oklch(46.9% 0.197 309.4);
Tailwind
colors: {
  custom: {
    50: '#a66cc5',
    500: '#7b29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7b29ab;
$custom-light: #a66cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29ab",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 277.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46887,
    "c": 0.19713,
    "h": 309.4
  },
  "luminance": 0.08737
}

Semantic roles & 50–950 ramp

primary
#7B29AB
secondary
#8CC46C
accent
#E4437F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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