#7F29B5#7F29B5

#7F29B5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.208 H 308.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7F29B5
RGBrgb(127, 41, 181)
HSLhsl(277, 63%, 44%)
HSVhsv(277, 77%, 71%)
CMYKcmyk(29.8%, 77.3%, 0%, 29%)
CIE-LABlab(36.81, 58.90, -57.47)
CIE-LCHlch(36.81, 82.29, 315.70°)
OKLaboklab(48.18% 0.1285 -0.1633)
OKLCHoklch(48.18% 0.208 308.2)
XYZxyz(17.8841, 9.4344, 44.5860)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B5 #5FB529
analogous
#3929B5 #7F29B5 #B529A5
triadic
#7F29B5 #B57F29 #29B57F
tetradic
#7F29B5 #B53929 #5FB529 #29A5B5
square
#7F29B5 #B53929 #5FB529 #29A5B5
split-complementary
#7F29B5 #A5B529 #29B539
monochromatic
#391251 #5C1E83 #7F29B5 #9E46D5 #B878E0

Accessibility & contrast

On white

7.27
#7F29B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7F29B5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B5#FFFFFF#000000##FFFFFF
##7F29B51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#0057B2
Tritanopia (blue-blind)
#764C6E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f29b5;
/* rgb */ color: rgb(127, 41, 181);
/* oklch */ color: oklch(48.2% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#a96dcc',
    500: '#7f29b5',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b5;
$custom-light: #a96dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b5",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 181
  },
  "hsl": {
    "h": 276.857,
    "s": 63.063,
    "l": 43.529
  },
  "oklch": {
    "l": 0.48183,
    "c": 0.20776,
    "h": 308.2
  },
  "luminance": 0.09434
}

Semantic roles & 50–950 ramp

primary
#7F29B5
secondary
#93C872
accent
#E64281
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F29B5

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

Preview Lab → · Contrast checker → · Palette generator →

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