#7B29C4#7B29C4

#7B29C4 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.221 H 302.6°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7B29C4
RGBrgb(123, 41, 196)
HSLhsl(272, 65%, 46%)
HSVhsv(272, 79%, 77%)
CMYKcmyk(37.2%, 79.1%, 0%, 23.1%)
CIE-LABlab(37.45, 61.57, -65.28)
CIE-LCHlch(37.45, 89.74, 313.33°)
OKLaboklab(48.89% 0.1192 -0.1863)
OKLCHoklch(48.89% 0.221 302.6)
XYZxyz(18.9227, 9.7823, 53.1051)
Luminance0.0978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29C4 #72C429
analogous
#2E29C4 #7B29C4 #C429C0
triadic
#7B29C4 #C47B29 #29C47B
tetradic
#7B29C4 #C42E29 #72C429 #29C0C4
square
#7B29C4 #C42E29 #72C429 #29C0C4
split-complementary
#7B29C4 #C0C429 #29C42E
monochromatic
#3B145F #5B1E91 #7B29C4 #9950DA #B782E5

Accessibility & contrast

On white

7.10
#7B29C4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7B29C4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29C4
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29C4#FFFFFF#000000##FFFFFF
##7B29C41.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C8
Deuteranopia (green-blind)
#0058C1
Tritanopia (blue-blind)
#6B5377
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7b29c4;
/* rgb */ color: rgb(123, 41, 196);
/* oklch */ color: oklch(48.9% 0.221 302.6);
Tailwind
colors: {
  custom: {
    50: '#a86dd7',
    500: '#7b29c4',
    950: '#000000',
  },
}
SCSS
$custom: #7b29c4;
$custom-light: #a86dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29c4",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 271.742,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48887,
    "c": 0.2212,
    "h": 302.6
  },
  "luminance": 0.09782
}

Semantic roles & 50–950 ramp

primary
#7B29C4
secondary
#A2CE7B
accent
#E83F8F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7B29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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