#7F29AB#7F29AB

#7F29AB is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 311.1°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#7F29AB
RGBrgb(127, 41, 171)
HSLhsl(280, 61%, 42%)
HSVhsv(280, 76%, 67%)
CMYKcmyk(25.7%, 76%, 0%, 32.9%)
CIE-LABlab(36.06, 56.74, -52.73)
CIE-LCHlch(36.06, 77.46, 317.10°)
OKLaboklab(47.42% 0.1305 -0.1493)
OKLCHoklch(47.42% 0.198 311.1)
XYZxyz(16.8946, 9.0386, 39.3748)
Luminance0.0904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29AB #55AB29
analogous
#3E29AB #7F29AB #AB2996
triadic
#7F29AB #AB7F29 #29AB7F
tetradic
#7F29AB #AB3E29 #55AB29 #2996AB
square
#7F29AB #AB3E29 #55AB29 #2996AB
split-complementary
#7F29AB #96AB29 #29AB3E
monochromatic
#361148 #5A1D7A #7F29AB #A040D1 #B971DD

Accessibility & contrast

On white

7.48
#7F29AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#7F29AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29AB
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29AB#FFFFFF#000000##FFFFFF
##7F29AB1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0D56A8
Tritanopia (blue-blind)
#794869
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f29ab;
/* rgb */ color: rgb(127, 41, 171);
/* oklch */ color: oklch(47.4% 0.198 311.1);
Tailwind
colors: {
  custom: {
    50: '#a96cc5',
    500: '#7f29ab',
    950: '#000000',
  },
}
SCSS
$custom: #7f29ab;
$custom-light: #a96cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29ab",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 171
  },
  "hsl": {
    "h": 279.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47421,
    "c": 0.19833,
    "h": 311.1
  },
  "luminance": 0.09038
}

Semantic roles & 50–950 ramp

primary
#7F29AB
secondary
#8AC46C
accent
#E4437A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29AB

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

Preview Lab → · Contrast checker → · Palette generator →

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