#7B29B7#7B29B7

#7B29B7 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.8% C 0.209 H 306.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7B29B7
RGBrgb(123, 41, 183)
HSLhsl(275, 63%, 44%)
HSVhsv(275, 78%, 72%)
CMYKcmyk(32.8%, 77.6%, 0%, 28.2%)
CIE-LABlab(36.40, 58.64, -59.35)
CIE-LCHlch(36.40, 83.43, 314.66°)
OKLaboklab(47.83% 0.1225 -0.1689)
OKLCHoklch(47.83% 0.209 306)
XYZxyz(17.5067, 9.2159, 45.6471)
Luminance0.0922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29B7 #65B729
analogous
#3429B7 #7B29B7 #B729AC
triadic
#7B29B7 #B77B29 #29B77B
tetradic
#7B29B7 #B73429 #65B729 #29ACB7
square
#7B29B7 #B73429 #65B729 #29ACB7
split-complementary
#7B29B7 #ACB729 #29B734
monochromatic
#381353 #591E85 #7B29B7 #9A47D6 #B579E1

Accessibility & contrast

On white

7.39
#7B29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7B29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29B7
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29B7#FFFFFF#000000##FFFFFF
##7B29B71.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#704D6F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b29b7;
/* rgb */ color: rgb(123, 41, 183);
/* oklch */ color: oklch(47.8% 0.209 306.0);
Tailwind
colors: {
  custom: {
    50: '#a76cce',
    500: '#7b29b7',
    950: '#000000',
  },
}
SCSS
$custom: #7b29b7;
$custom-light: #a76cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29b7",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 274.648,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47825,
    "c": 0.20867,
    "h": 306
  },
  "luminance": 0.09216
}

Semantic roles & 50–950 ramp

primary
#7B29B7
secondary
#97C973
accent
#E64187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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