#7B29B2#7B29B2

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

Color values

HEX#7B29B2
RGBrgb(123, 41, 178)
HSLhsl(276, 63%, 43%)
HSVhsv(276, 77%, 70%)
CMYKcmyk(30.9%, 77%, 0%, 30.2%)
CIE-LABlab(36.01, 57.52, -57.02)
CIE-LCHlch(36.01, 80.99, 315.25°)
OKLaboklab(47.43% 0.1237 -0.1621)
OKLCHoklch(47.43% 0.204 307.3)
XYZxyz(16.9955, 9.0114, 42.9549)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29B2 #60B229
analogous
#3629B2 #7B29B2 #B229A5
triadic
#7B29B2 #B27B29 #29B27B
tetradic
#7B29B2 #B23629 #60B229 #29A5B2
square
#7B29B2 #B23629 #60B229 #29A5B2
split-complementary
#7B29B2 #A5B229 #29B236
monochromatic
#36124F #591E80 #7B29B2 #9A44D4 #B576DF

Accessibility & contrast

On white

7.49
#7B29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7B29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29B2
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29B2#FFFFFF#000000##FFFFFF
##7B29B21.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0055AF
Tritanopia (blue-blind)
#724B6D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7b29b2;
/* rgb */ color: rgb(123, 41, 178);
/* oklch */ color: oklch(47.4% 0.204 307.3);
Tailwind
colors: {
  custom: {
    50: '#a66cca',
    500: '#7b29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7b29b2;
$custom-light: #a66cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29b2",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 275.912,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47429,
    "c": 0.20386,
    "h": 307.3
  },
  "luminance": 0.09011
}

Semantic roles & 50–950 ramp

primary
#7B29B2
secondary
#93C770
accent
#E64284
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7B29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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