#7C29BD#7C29BD

#7C29BD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.215 H 304.8°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7C29BD
RGBrgb(124, 41, 189)
HSLhsl(274, 64%, 45%)
HSVhsv(274, 78%, 74%)
CMYKcmyk(34.4%, 78.3%, 0%, 25.9%)
CIE-LABlab(37.01, 60.15, -61.88)
CIE-LCHlch(37.01, 86.29, 314.19°)
OKLaboklab(48.44% 0.1224 -0.1763)
OKLCHoklch(48.44% 0.215 304.8)
XYZxyz(18.2883, 9.5452, 49.0132)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29BD #6ABD29
analogous
#3229BD #7C29BD #BD29B4
triadic
#7C29BD #BD7C29 #29BD7C
tetradic
#7C29BD #BD3229 #6ABD29 #29B4BD
square
#7C29BD #BD3229 #6ABD29 #29B4BD
split-complementary
#7C29BD #B4BD29 #29BD32
monochromatic
#3A1358 #5B1E8B #7C29BD #9A4BD8 #B67DE3

Accessibility & contrast

On white

7.22
#7C29BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7C29BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29BD
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29BD#FFFFFF#000000##FFFFFF
##7C29BD1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C1
Deuteranopia (green-blind)
#0057BA
Tritanopia (blue-blind)
#6F5073
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7c29bd;
/* rgb */ color: rgb(124, 41, 189);
/* oklch */ color: oklch(48.4% 0.215 304.8);
Tailwind
colors: {
  custom: {
    50: '#a86dd2',
    500: '#7c29bd',
    950: '#000000',
  },
}
SCSS
$custom: #7c29bd;
$custom-light: #a86dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29bd",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 189
  },
  "hsl": {
    "h": 273.649,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48435,
    "c": 0.21466,
    "h": 304.8
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#7C29BD
secondary
#9CCB77
accent
#E7408A
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7C29BD

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

Preview Lab → · Contrast checker → · Palette generator →

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