#7F29B8#7F29B8

#7F29B8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.4% C 0.211 H 307.4°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7F29B8
RGBrgb(127, 41, 184)
HSLhsl(276, 64%, 44%)
HSVhsv(276, 78%, 72%)
CMYKcmyk(31%, 77.7%, 0%, 27.8%)
CIE-LABlab(37.04, 59.55, -58.87)
CIE-LCHlch(37.04, 83.74, 315.33°)
OKLaboklab(48.42% 0.1278 -0.1674)
OKLCHoklch(48.42% 0.211 307.4)
XYZxyz(18.1952, 9.5588, 46.2246)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B8 #62B829
analogous
#3829B8 #7F29B8 #B829AA
triadic
#7F29B8 #B87F29 #29B87F
tetradic
#7F29B8 #B83829 #62B829 #29AAB8
square
#7F29B8 #B83829 #62B829 #29AAB8
split-complementary
#7F29B8 #AAB829 #29B838
monochromatic
#3A1354 #5C1E86 #7F29B8 #9E48D6 #B87AE1

Accessibility & contrast

On white

7.21
#7F29B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7F29B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B8#FFFFFF#000000##FFFFFF
##7F29B81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#754D70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f29b8;
/* rgb */ color: rgb(127, 41, 184);
/* oklch */ color: oklch(48.4% 0.211 307.4);
Tailwind
colors: {
  custom: {
    50: '#aa6dce',
    500: '#7f29b8',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b8;
$custom-light: #aa6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b8",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 184
  },
  "hsl": {
    "h": 276.084,
    "s": 63.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.48418,
    "c": 0.2106,
    "h": 307.4
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#7F29B8
secondary
#96C973
accent
#E74183
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #7F29B8

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

Preview Lab → · Contrast checker → · Palette generator →

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