#7C29B2#7C29B2

#7C29B2 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.6% C 0.204 H 307.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7C29B2
RGBrgb(124, 41, 178)
HSLhsl(276, 63%, 43%)
HSVhsv(276, 77%, 70%)
CMYKcmyk(30.3%, 77%, 0%, 30.2%)
CIE-LABlab(36.15, 57.70, -56.78)
CIE-LCHlch(36.15, 80.95, 315.46°)
OKLaboklab(47.56% 0.125 -0.1613)
OKLCHoklch(47.56% 0.204 307.8)
XYZxyz(17.1393, 9.0856, 42.9616)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B2 #5FB229
analogous
#3729B2 #7C29B2 #B229A4
triadic
#7C29B2 #B27C29 #29B27C
tetradic
#7C29B2 #B23729 #5FB229 #29A4B2
square
#7C29B2 #B23729 #5FB229 #29A4B2
split-complementary
#7C29B2 #A4B229 #29B237
monochromatic
#37124F #591E80 #7C29B2 #9B44D4 #B676DF

Accessibility & contrast

On white

7.45
#7C29B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7C29B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C29B2
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B2#FFFFFF#000000##FFFFFF
##7C29B21.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c29b2;
/* rgb */ color: rgb(124, 41, 178);
/* oklch */ color: oklch(47.6% 0.204 307.8);
Tailwind
colors: {
  custom: {
    50: '#a76cca',
    500: '#7c29b2',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b2;
$custom-light: #a76cca;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b2",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 178
  },
  "hsl": {
    "h": 276.35,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.20412,
    "h": 307.8
  },
  "luminance": 0.09085
}

Semantic roles & 50–950 ramp

primary
#7C29B2
secondary
#92C770
accent
#E64283
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7C29B2

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

Preview Lab → · Contrast checker → · Palette generator →

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