#7C29BA#7C29BA

#7C29BA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.212 H 305.6°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7C29BA
RGBrgb(124, 41, 186)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 73%)
CMYKcmyk(33.3%, 78%, 0%, 27.1%)
CIE-LABlab(36.77, 59.48, -60.50)
CIE-LCHlch(36.77, 84.84, 314.51°)
OKLaboklab(48.19% 0.1232 -0.1723)
OKLCHoklch(48.19% 0.212 305.6)
XYZxyz(17.9661, 9.4163, 47.3159)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29BA #67BA29
analogous
#3429BA #7C29BA #BA29B0
triadic
#7C29BA #BA7C29 #29BA7C
tetradic
#7C29BA #BA3429 #67BA29 #29B0BA
square
#7C29BA #BA3429 #67BA29 #29B0BA
split-complementary
#7C29BA #B0BA29 #29BA34
monochromatic
#391356 #5B1E88 #7C29BA #9A49D7 #B67BE2

Accessibility & contrast

On white

7.28
#7C29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7C29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29BA
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29BA#FFFFFF#000000##FFFFFF
##7C29BA1.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#704F71
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c29ba;
/* rgb */ color: rgb(124, 41, 186);
/* oklch */ color: oklch(48.2% 0.212 305.6);
Tailwind
colors: {
  custom: {
    50: '#a86cd0',
    500: '#7c29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7c29ba;
$custom-light: #a86cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29ba",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 274.345,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.21178,
    "h": 305.6
  },
  "luminance": 0.09416
}

Semantic roles & 50–950 ramp

primary
#7C29BA
secondary
#99CA75
accent
#E74188
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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