#7B29B1#7B29B1

#7B29B1 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.4% C 0.203 H 307.6°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7B29B1
RGBrgb(123, 41, 177)
HSLhsl(276, 62%, 43%)
HSVhsv(276, 77%, 69%)
CMYKcmyk(30.5%, 76.8%, 0%, 30.6%)
CIE-LABlab(35.93, 57.30, -56.55)
CIE-LCHlch(35.93, 80.51, 315.38°)
OKLaboklab(47.35% 0.1239 -0.1607)
OKLCHoklch(47.35% 0.203 307.6)
XYZxyz(16.8954, 8.9714, 42.4280)
Luminance0.0897 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29B1 #5FB129
analogous
#3729B1 #7B29B1 #B129A3
triadic
#7B29B1 #B17B29 #29B17B
tetradic
#7B29B1 #B13729 #5FB129 #29A3B1
square
#7B29B1 #B13729 #5FB129 #29A3B1
split-complementary
#7B29B1 #A3B129 #29B137
monochromatic
#36124E #581D7F #7B29B1 #9A44D4 #B575DF

Accessibility & contrast

On white

7.52
#7B29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7B29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29B1
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29B1#FFFFFF#000000##FFFFFF
##7B29B11.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0055AE
Tritanopia (blue-blind)
#724B6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7b29b1;
/* rgb */ color: rgb(123, 41, 177);
/* oklch */ color: oklch(47.4% 0.203 307.6);
Tailwind
colors: {
  custom: {
    50: '#a66cc9',
    500: '#7b29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7b29b1;
$custom-light: #a66cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29b1",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 276.176,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47351,
    "c": 0.2029,
    "h": 307.6
  },
  "luminance": 0.08971
}

Semantic roles & 50–950 ramp

primary
#7B29B1
secondary
#92C76F
accent
#E54283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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