#7F29B3#7F29B3

#7F29B3 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.206 H 308.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7F29B3
RGBrgb(127, 41, 179)
HSLhsl(277, 63%, 43%)
HSVhsv(277, 77%, 70%)
CMYKcmyk(29.1%, 77.1%, 0%, 29.8%)
CIE-LABlab(36.66, 58.46, -56.53)
CIE-LCHlch(36.66, 81.32, 315.96°)
OKLaboklab(48.03% 0.1289 -0.1605)
OKLCHoklch(48.03% 0.206 308.8)
XYZxyz(17.6803, 9.3529, 43.5130)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B3 #5DB329
analogous
#3A29B3 #7F29B3 #B329A2
triadic
#7F29B3 #B37F29 #29B37F
tetradic
#7F29B3 #B33A29 #5DB329 #29A2B3
square
#7F29B3 #B33A29 #5DB329 #29A2B3
split-complementary
#7F29B3 #A2B329 #29B33A
monochromatic
#38124F #5C1E81 #7F29B3 #9E45D4 #B877E0

Accessibility & contrast

On white

7.32
#7F29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7F29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B3
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B3#FFFFFF#000000##FFFFFF
##7F29B31.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0057B0
Tritanopia (blue-blind)
#774B6D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f29b3;
/* rgb */ color: rgb(127, 41, 179);
/* oklch */ color: oklch(48.0% 0.206 308.8);
Tailwind
colors: {
  custom: {
    50: '#a96ccb',
    500: '#7f29b3',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b3;
$custom-light: #a96ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b3",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 277.391,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48028,
    "c": 0.20587,
    "h": 308.8
  },
  "luminance": 0.09353
}

Semantic roles & 50–950 ramp

primary
#7F29B3
secondary
#91C770
accent
#E64280
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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