#7B29BA#7B29BA

#7B29BA is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.1% C 0.212 H 305.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7B29BA
RGBrgb(123, 41, 186)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 73%)
CMYKcmyk(33.9%, 78%, 0%, 27.1%)
CIE-LABlab(36.63, 59.31, -60.73)
CIE-LCHlch(36.63, 84.89, 314.32°)
OKLaboklab(48.07% 0.1218 -0.173)
OKLCHoklch(48.07% 0.212 305.1)
XYZxyz(17.8222, 9.3421, 47.3092)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B29BA #68BA29
analogous
#3229BA #7B29BA #BA29B1
triadic
#7B29BA #BA7B29 #29BA7B
tetradic
#7B29BA #BA3229 #68BA29 #29B1BA
square
#7B29BA #BA3229 #68BA29 #29B1BA
split-complementary
#7B29BA #B1BA29 #29BA32
monochromatic
#391356 #5A1E88 #7B29BA #9949D7 #B57BE2

Accessibility & contrast

On white

7.32
#7B29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7B29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B29BA
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B29BA#FFFFFF#000000##FFFFFF
##7B29BA1.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#6F4F71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7b29ba;
/* rgb */ color: rgb(123, 41, 186);
/* oklch */ color: oklch(48.1% 0.212 305.1);
Tailwind
colors: {
  custom: {
    50: '#a76cd0',
    500: '#7b29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7b29ba;
$custom-light: #a76cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7b29ba",
  "rgb": {
    "r": 123,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 273.931,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48066,
    "c": 0.21156,
    "h": 305.1
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#7B29BA
secondary
#9ACA75
accent
#E74189
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7B29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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