#7F29B6#7F29B6

#7F29B6 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.209 H 307.9°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7F29B6
RGBrgb(127, 41, 182)
HSLhsl(277, 63%, 44%)
HSVhsv(277, 77%, 71%)
CMYKcmyk(30.2%, 77.5%, 0%, 28.6%)
CIE-LABlab(36.88, 59.11, -57.94)
CIE-LCHlch(36.88, 82.77, 315.58°)
OKLaboklab(48.26% 0.1283 -0.1646)
OKLCHoklch(48.26% 0.209 307.9)
XYZxyz(17.9871, 9.4756, 45.1283)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B6 #60B629
analogous
#3829B6 #7F29B6 #B629A6
triadic
#7F29B6 #B67F29 #29B67F
tetradic
#7F29B6 #B63829 #60B629 #29A6B6
square
#7F29B6 #B63829 #60B629 #29A6B6
split-complementary
#7F29B6 #A6B629 #29B638
monochromatic
#391252 #5C1E84 #7F29B6 #9E47D5 #B879E1

Accessibility & contrast

On white

7.25
#7F29B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7F29B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B6
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B6#FFFFFF#000000##FFFFFF
##7F29B61.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BA
Deuteranopia (green-blind)
#0058B3
Tritanopia (blue-blind)
#764C6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f29b6;
/* rgb */ color: rgb(127, 41, 182);
/* oklch */ color: oklch(48.3% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#a96dcd',
    500: '#7f29b6',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b6;
$custom-light: #a96dcd;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b6",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 182
  },
  "hsl": {
    "h": 276.596,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.2087,
    "h": 307.9
  },
  "luminance": 0.09475
}

Semantic roles & 50–950 ramp

primary
#7F29B6
secondary
#94C972
accent
#E64282
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7F29B6

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

Preview Lab → · Contrast checker → · Palette generator →

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