#7F29B1#7F29B1

#7F29B1 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.9% C 0.204 H 309.3°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7F29B1
RGBrgb(127, 41, 177)
HSLhsl(278, 62%, 43%)
HSVhsv(278, 77%, 69%)
CMYKcmyk(28.2%, 76.8%, 0%, 30.6%)
CIE-LABlab(36.50, 58.03, -55.59)
CIE-LCHlch(36.50, 80.36, 316.23°)
OKLaboklab(47.88% 0.1293 -0.1577)
OKLCHoklch(47.88% 0.204 309.3)
XYZxyz(17.4795, 9.2726, 42.4554)
Luminance0.0927 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B1 #5BB129
analogous
#3B29B1 #7F29B1 #B1299F
triadic
#7F29B1 #B17F29 #29B17F
tetradic
#7F29B1 #B13B29 #5BB129 #299FB1
square
#7F29B1 #B13B29 #5BB129 #299FB1
split-complementary
#7F29B1 #9FB129 #29B13B
monochromatic
#38124E #5B1D7F #7F29B1 #9F44D4 #B875DF

Accessibility & contrast

On white

7.36
#7F29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7F29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B1
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B1#FFFFFF#000000##FFFFFF
##7F29B11.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B5
Deuteranopia (green-blind)
#0057AE
Tritanopia (blue-blind)
#784A6C
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f29b1;
/* rgb */ color: rgb(127, 41, 177);
/* oklch */ color: oklch(47.9% 0.204 309.3);
Tailwind
colors: {
  custom: {
    50: '#a96cc9',
    500: '#7f29b1',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b1;
$custom-light: #a96cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b1",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 277.941,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.47875,
    "c": 0.20398,
    "h": 309.3
  },
  "luminance": 0.09272
}

Semantic roles & 50–950 ramp

primary
#7F29B1
secondary
#8FC76F
accent
#E5427E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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