#7C29B8#7C29B8

#7C29B8 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.0% C 0.210 H 306.1°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7C29B8
RGBrgb(124, 41, 184)
HSLhsl(275, 64%, 44%)
HSVhsv(275, 78%, 72%)
CMYKcmyk(32.6%, 77.7%, 0%, 27.8%)
CIE-LABlab(36.62, 59.03, -59.58)
CIE-LCHlch(36.62, 83.87, 314.74°)
OKLaboklab(48.03% 0.1237 -0.1696)
OKLCHoklch(48.03% 0.21 306.1)
XYZxyz(17.7549, 9.3318, 46.2040)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C29B8 #65B829
analogous
#3429B8 #7C29B8 #B829AD
triadic
#7C29B8 #B87C29 #29B87C
tetradic
#7C29B8 #B83429 #65B829 #29ADB8
square
#7C29B8 #B83429 #65B829 #29ADB8
split-complementary
#7C29B8 #ADB829 #29B834
monochromatic
#391354 #5A1E86 #7C29B8 #9B48D6 #B67AE1

Accessibility & contrast

On white

7.33
#7C29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C29B8
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C29B8#FFFFFF#000000##FFFFFF
##7C29B81.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#714E70
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7c29b8;
/* rgb */ color: rgb(124, 41, 184);
/* oklch */ color: oklch(48.0% 0.210 306.1);
Tailwind
colors: {
  custom: {
    50: '#a86cce',
    500: '#7c29b8',
    950: '#000000',
  },
}
SCSS
$custom: #7c29b8;
$custom-light: #a86cce;
$custom-dark: #000000;
JSON
{
  "hex": "#7c29b8",
  "rgb": {
    "r": 124,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 274.825,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48032,
    "c": 0.20987,
    "h": 306.1
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#7C29B8
secondary
#97C973
accent
#E74187
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #7C29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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