#7F29AA#7F29AA

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

Color values

HEX#7F29AA
RGBrgb(127, 41, 170)
HSLhsl(280, 61%, 41%)
HSVhsv(280, 76%, 67%)
CMYKcmyk(25.3%, 75.9%, 0%, 33.3%)
CIE-LABlab(35.99, 56.53, -52.25)
CIE-LCHlch(35.99, 76.98, 317.25°)
OKLaboklab(47.35% 0.1307 -0.1479)
OKLCHoklch(47.35% 0.197 311.5)
XYZxyz(16.7997, 9.0006, 38.8747)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29AA #54AA29
analogous
#3F29AA #7F29AA #AA2995
triadic
#7F29AA #AA7F29 #29AA7F
tetradic
#7F29AA #AA3F29 #54AA29 #2995AA
square
#7F29AA #AA3F29 #54AA29 #2995AA
split-complementary
#7F29AA #95AA29 #29AA3F
monochromatic
#351147 #5A1D79 #7F29AA #A03FD1 #B971DD

Accessibility & contrast

On white

7.50
#7F29AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7F29AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29AA
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29AA#FFFFFF#000000##FFFFFF
##7F29AA1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#1156A7
Tritanopia (blue-blind)
#794768
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f29aa;
/* rgb */ color: rgb(127, 41, 170);
/* oklch */ color: oklch(47.3% 0.197 311.5);
Tailwind
colors: {
  custom: {
    50: '#a96cc4',
    500: '#7f29aa',
    950: '#000000',
  },
}
SCSS
$custom: #7f29aa;
$custom-light: #a96cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29aa",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 170
  },
  "hsl": {
    "h": 280,
    "s": 61.137,
    "l": 41.373
  },
  "oklch": {
    "l": 0.47346,
    "c": 0.19738,
    "h": 311.5
  },
  "luminance": 0.09
}

Semantic roles & 50–950 ramp

primary
#7F29AA
secondary
#89C46B
accent
#E44479
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29AA

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

Preview Lab → · Contrast checker → · Palette generator →

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