#7B29C5#7B29C5

#7B29C5 is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 49.0% C 0.222 H 302.4°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7B29C5
RGBrgb(123, 41, 197)
HSLhsl(272, 66%, 47%)
HSVhsv(272, 79%, 77%)
CMYKcmyk(37.6%, 79.2%, 0%, 22.7%)
CIE-LABlab(37.53, 61.80, -65.73)
CIE-LCHlch(37.53, 90.22, 313.24°)
OKLaboklab(48.97% 0.1189 -0.1877)
OKLCHoklch(48.97% 0.222 302.4)
XYZxyz(19.0369, 9.8280, 53.7066)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29C5 #73C529
analogous
#2D29C5 #7B29C5 #C529C1
triadic
#7B29C5 #C57B29 #29C57B
tetradic
#7B29C5 #C52D29 #73C529 #29C1C5
square
#7B29C5 #C52D29 #73C529 #29C1C5
split-complementary
#7B29C5 #C1C529 #29C52D
monochromatic
#3C1460 #5B1E92 #7B29C5 #9951DB #B783E5

Accessibility & contrast

On white

7.08
#7B29C5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7B29C5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29C5
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29C5#FFFFFF#000000##FFFFFF
##7B29C51.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7b29c5;
/* rgb */ color: rgb(123, 41, 197);
/* oklch */ color: oklch(49.0% 0.222 302.4);
Tailwind
colors: {
  custom: {
    50: '#a86dd8',
    500: '#7b29c5',
    950: '#000000',
  },
}
SCSS
$custom: #7b29c5;
$custom-light: #a86dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29c5",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 271.538,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48971,
    "c": 0.22215,
    "h": 302.4
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#7B29C5
secondary
#A3CE7C
accent
#E83F90
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110815
muted
#807B83

Preview Lab

Preview with #7B29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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