#7F29BA#7F29BA

#7F29BA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.6% C 0.212 H 306.8°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7F29BA
RGBrgb(127, 41, 186)
HSLhsl(276, 64%, 45%)
HSVhsv(276, 78%, 73%)
CMYKcmyk(31.7%, 78%, 0%, 27.1%)
CIE-LABlab(37.19, 59.99, -59.80)
CIE-LCHlch(37.19, 84.70, 315.09°)
OKLaboklab(48.58% 0.1274 -0.1701)
OKLCHoklch(48.58% 0.212 306.8)
XYZxyz(18.4063, 9.6433, 47.3365)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29BA #64BA29
analogous
#3629BA #7F29BA #BA29AD
triadic
#7F29BA #BA7F29 #29BA7F
tetradic
#7F29BA #BA3629 #64BA29 #29ADBA
square
#7F29BA #BA3629 #64BA29 #29ADBA
split-complementary
#7F29BA #ADBA29 #29BA36
monochromatic
#3B1356 #5D1E88 #7F29BA #9D49D7 #B87BE2

Accessibility & contrast

On white

7.17
#7F29BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#7F29BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29BA
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29BA#FFFFFF#000000##FFFFFF
##7F29BA1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#754E71
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f29ba;
/* rgb */ color: rgb(127, 41, 186);
/* oklch */ color: oklch(48.6% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#aa6dd0',
    500: '#7f29ba',
    950: '#000000',
  },
}
SCSS
$custom: #7f29ba;
$custom-light: #aa6dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29ba",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 186
  },
  "hsl": {
    "h": 275.586,
    "s": 63.877,
    "l": 44.51
  },
  "oklch": {
    "l": 0.48576,
    "c": 0.21249,
    "h": 306.8
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#7F29BA
secondary
#97CA75
accent
#E74184
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #7F29BA

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

Preview Lab → · Contrast checker → · Palette generator →

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