#7F29A4#7F29A4

#7F29A4 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.192 H 313.4°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7F29A4
RGBrgb(127, 41, 164)
HSLhsl(282, 60%, 40%)
HSVhsv(282, 75%, 64%)
CMYKcmyk(22.6%, 75%, 0%, 35.7%)
CIE-LABlab(35.55, 55.26, -49.35)
CIE-LCHlch(35.55, 74.09, 318.23°)
OKLaboklab(46.91% 0.1317 -0.1394)
OKLCHoklch(46.91% 0.192 313.4)
XYZxyz(16.2450, 8.7788, 35.9535)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29A4 #4EA429
analogous
#4129A4 #7F29A4 #A4298C
triadic
#7F29A4 #A47F29 #29A47F
tetradic
#7F29A4 #A44129 #4EA429 #298CA4
square
#7F29A4 #A44129 #4EA429 #298CA4
split-complementary
#7F29A4 #8CA429 #29A441
monochromatic
#331142 #591D73 #7F29A4 #A23CCE #BA6DDA

Accessibility & contrast

On white

7.62
#7F29A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F29A4
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29A4#FFFFFF#000000##FFFFFF
##7F29A41.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA7
Deuteranopia (green-blind)
#1D56A1
Tritanopia (blue-blind)
#7B4565
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f29a4;
/* rgb */ color: rgb(127, 41, 164);
/* oklch */ color: oklch(46.9% 0.192 313.4);
Tailwind
colors: {
  custom: {
    50: '#a86cc0',
    500: '#7f29a4',
    950: '#000000',
  },
}
SCSS
$custom: #7f29a4;
$custom-light: #a86cc0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29a4",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 164
  },
  "hsl": {
    "h": 281.951,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.46905,
    "c": 0.19175,
    "h": 313.4
  },
  "luminance": 0.08778
}

Semantic roles & 50–950 ramp

primary
#7F29A4
secondary
#83C168
accent
#E34574
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F29A4

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

Preview Lab → · Contrast checker → · Palette generator →

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