#7F29C4#7F29C4

#7F29C4 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.4% C 0.222 H 304.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7F29C4
RGBrgb(127, 41, 196)
HSLhsl(273, 65%, 46%)
HSVhsv(273, 79%, 77%)
CMYKcmyk(35.2%, 79.1%, 0%, 23.1%)
CIE-LABlab(37.99, 62.21, -64.37)
CIE-LCHlch(37.99, 89.51, 314.02°)
OKLaboklab(49.38% 0.1248 -0.1835)
OKLCHoklch(49.38% 0.222 304.2)
XYZxyz(19.5068, 10.0835, 53.1325)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29C4 #6EC429
analogous
#3129C4 #7F29C4 #C429BC
triadic
#7F29C4 #C47F29 #29C47F
tetradic
#7F29C4 #C43129 #6EC429 #29BCC4
square
#7F29C4 #C43129 #6EC429 #29BCC4
split-complementary
#7F29C4 #BCC429 #29C431
monochromatic
#3D145F #5E1E91 #7F29C4 #9D50DA #B982E5

Accessibility & contrast

On white

6.96
#7F29C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7F29C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F29C4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29C4#FFFFFF#000000##FFFFFF
##7F29C41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C8
Deuteranopia (green-blind)
#0059C1
Tritanopia (blue-blind)
#715377
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7f29c4;
/* rgb */ color: rgb(127, 41, 196);
/* oklch */ color: oklch(49.4% 0.222 304.2);
Tailwind
colors: {
  custom: {
    50: '#aa6dd7',
    500: '#7f29c4',
    950: '#000000',
  },
}
SCSS
$custom: #7f29c4;
$custom-light: #aa6dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29c4",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 196
  },
  "hsl": {
    "h": 273.29,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49381,
    "c": 0.22197,
    "h": 304.2
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#7F29C4
secondary
#A0CE7B
accent
#E83F8B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #7F29C4

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

Preview Lab → · Contrast checker → · Palette generator →

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