#7F29BC#7F29BC

#7F29BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.214 H 306.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7F29BC
RGBrgb(127, 41, 188)
HSLhsl(275, 64%, 45%)
HSVhsv(275, 78%, 74%)
CMYKcmyk(32.4%, 78.2%, 0%, 26.3%)
CIE-LABlab(37.35, 60.43, -60.72)
CIE-LCHlch(37.35, 85.67, 314.86°)
OKLaboklab(48.73% 0.1269 -0.1728)
OKLCHoklch(48.73% 0.214 306.3)
XYZxyz(18.6204, 9.7289, 48.4641)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29BC #66BC29
analogous
#3629BC #7F29BC #BC29B0
triadic
#7F29BC #BC7F29 #29BC7F
tetradic
#7F29BC #BC3629 #66BC29 #29B0BC
square
#7F29BC #BC3629 #66BC29 #29B0BC
split-complementary
#7F29BC #B0BC29 #29BC36
monochromatic
#3B1358 #5D1E8A #7F29BC #9D4BD8 #B87DE3

Accessibility & contrast

On white

7.13
#7F29BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7F29BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29BC
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29BC#FFFFFF#000000##FFFFFF
##7F29BC1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#744F72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f29bc;
/* rgb */ color: rgb(127, 41, 188);
/* oklch */ color: oklch(48.7% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#aa6dd1',
    500: '#7f29bc',
    950: '#000000',
  },
}
SCSS
$custom: #7f29bc;
$custom-light: #aa6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29bc",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 188
  },
  "hsl": {
    "h": 275.102,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48734,
    "c": 0.21438,
    "h": 306.3
  },
  "luminance": 0.09729
}

Semantic roles & 50–950 ramp

primary
#7F29BC
secondary
#99CB76
accent
#E74186
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F29BC

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

Preview Lab → · Contrast checker → · Palette generator →

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