#7C29AB#7C29AB

#7C29AB is a mid, vivid violet. Relative luminance 0.088; OKLCH L 47.0% C 0.197 H 309.8°. Best body text is #FFFFFF at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7C29AB
RGBrgb(124, 41, 171)
HSLhsl(278, 61%, 42%)
HSVhsv(278, 76%, 67%)
CMYKcmyk(27.5%, 76%, 0%, 32.9%)
CIE-LABlab(35.62, 56.17, -53.47)
CIE-LCHlch(35.62, 77.55, 316.41°)
OKLaboklab(47.02% 0.1265 -0.1516)
OKLCHoklch(47.02% 0.197 309.8)
XYZxyz(16.4543, 8.8116, 39.3542)
Luminance0.0881 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29AB #58AB29
analogous
#3B29AB #7C29AB #AB2999
triadic
#7C29AB #AB7C29 #29AB7C
tetradic
#7C29AB #AB3B29 #58AB29 #2999AB
square
#7C29AB #AB3B29 #58AB29 #2999AB
split-complementary
#7C29AB #99AB29 #29AB3B
monochromatic
#341148 #581D7A #7C29AB #9D40D1 #B671DD

Accessibility & contrast

On white

7.60
#7C29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#7C29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29AB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29AB#FFFFFF#000000##FFFFFF
##7C29AB1.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AF
Deuteranopia (green-blind)
#0155A8
Tritanopia (blue-blind)
#754869
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7c29ab;
/* rgb */ color: rgb(124, 41, 171);
/* oklch */ color: oklch(47.0% 0.197 309.8);
Tailwind
colors: {
  custom: {
    50: '#a76cc5',
    500: '#7c29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7c29ab;
$custom-light: #a76cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29ab",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 278.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4702,
    "c": 0.19742,
    "h": 309.8
  },
  "luminance": 0.08811
}

Semantic roles & 50–950 ramp

primary
#7C29AB
secondary
#8CC46C
accent
#E4437E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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