#7F29A9#7F29A9

#7F29A9 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.196 H 311.8°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#7F29A9
RGBrgb(127, 41, 169)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 66%)
CMYKcmyk(24.9%, 75.7%, 0%, 33.7%)
CIE-LABlab(35.91, 56.31, -51.77)
CIE-LCHlch(35.91, 76.50, 317.41°)
OKLaboklab(47.27% 0.1308 -0.1465)
OKLCHoklch(47.27% 0.196 311.8)
XYZxyz(16.7054, 8.9629, 38.3784)
Luminance0.0896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29A9 #53A929
analogous
#3F29A9 #7F29A9 #A92993
triadic
#7F29A9 #A97F29 #29A97F
tetradic
#7F29A9 #A93F29 #53A929 #2993A9
square
#7F29A9 #A93F29 #53A929 #2993A9
split-complementary
#7F29A9 #93A929 #29A93F
monochromatic
#351146 #5A1D78 #7F29A9 #A13FD0 #B970DC

Accessibility & contrast

On white

7.52
#7F29A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#7F29A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29A9
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29A9#FFFFFF#000000##FFFFFF
##7F29A91.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AD
Deuteranopia (green-blind)
#1356A6
Tritanopia (blue-blind)
#7A4767
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #7f29a9;
/* rgb */ color: rgb(127, 41, 169);
/* oklch */ color: oklch(47.3% 0.196 311.8);
Tailwind
colors: {
  custom: {
    50: '#a96cc3',
    500: '#7f29a9',
    950: '#000000',
  },
}
SCSS
$custom: #7f29a9;
$custom-light: #a96cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29a9",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 169
  },
  "hsl": {
    "h": 280.313,
    "s": 60.952,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47272,
    "c": 0.19644,
    "h": 311.8
  },
  "luminance": 0.08962
}

Semantic roles & 50–950 ramp

primary
#7F29A9
secondary
#88C36A
accent
#E44478
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29A9

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

Preview Lab → · Contrast checker → · Palette generator →

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