#7F29AC#7F29AC

#7F29AC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.199 H 310.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7F29AC
RGBrgb(127, 41, 172)
HSLhsl(279, 62%, 42%)
HSVhsv(279, 76%, 67%)
CMYKcmyk(26.2%, 76.2%, 0%, 32.5%)
CIE-LABlab(36.13, 56.95, -53.21)
CIE-LCHlch(36.13, 77.94, 316.94°)
OKLaboklab(47.5% 0.1303 -0.1507)
OKLCHoklch(47.5% 0.199 310.8)
XYZxyz(16.9903, 9.0769, 39.8787)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29AC #56AC29
analogous
#3E29AC #7F29AC #AC2998
triadic
#7F29AC #AC7F29 #29AC7F
tetradic
#7F29AC #AC3E29 #56AC29 #2998AC
square
#7F29AC #AC3E29 #56AC29 #2998AC
split-complementary
#7F29AC #98AC29 #29AC3E
monochromatic
#361149 #5B1D7B #7F29AC #A041D2 #B972DD

Accessibility & contrast

On white

7.46
#7F29AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7F29AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29AC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29AC#FFFFFF#000000##FFFFFF
##7F29AC1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f29ac;
/* rgb */ color: rgb(127, 41, 172);
/* oklch */ color: oklch(47.5% 0.199 310.8);
Tailwind
colors: {
  custom: {
    50: '#a96cc6',
    500: '#7f29ac',
    950: '#000000',
  },
}
SCSS
$custom: #7f29ac;
$custom-light: #a96cc6;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29ac",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 172
  },
  "hsl": {
    "h": 279.389,
    "s": 61.502,
    "l": 41.765
  },
  "oklch": {
    "l": 0.47496,
    "c": 0.19926,
    "h": 310.8
  },
  "luminance": 0.09076
}

Semantic roles & 50–950 ramp

primary
#7F29AC
secondary
#8BC56C
accent
#E5437B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29AC

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

Preview Lab → · Contrast checker → · Palette generator →

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