#7F29C5#7F29C5

#7F29C5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.5% C 0.223 H 304.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7F29C5
RGBrgb(127, 41, 197)
HSLhsl(273, 66%, 47%)
HSVhsv(273, 79%, 77%)
CMYKcmyk(35.5%, 79.2%, 0%, 22.7%)
CIE-LABlab(38.07, 62.43, -64.82)
CIE-LCHlch(38.07, 89.99, 313.92°)
OKLaboklab(49.46% 0.1246 -0.1849)
OKLCHoklch(49.46% 0.223 304)
XYZxyz(19.6210, 10.1292, 53.7339)
Luminance0.1013 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29C5 #6FC529
analogous
#3129C5 #7F29C5 #C529BD
triadic
#7F29C5 #C57F29 #29C57F
tetradic
#7F29C5 #C53129 #6FC529 #29BDC5
square
#7F29C5 #C53129 #6FC529 #29BDC5
split-complementary
#7F29C5 #BDC529 #29C531
monochromatic
#3E1460 #5E1E92 #7F29C5 #9D51DB #B983E5

Accessibility & contrast

On white

6.94
#7F29C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7F29C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F29C5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29C5#FFFFFF#000000##FFFFFF
##7F29C51.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C9
Deuteranopia (green-blind)
#0059C2
Tritanopia (blue-blind)
#715377
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7f29c5;
/* rgb */ color: rgb(127, 41, 197);
/* oklch */ color: oklch(49.5% 0.223 304.0);
Tailwind
colors: {
  custom: {
    50: '#ab6dd8',
    500: '#7f29c5',
    950: '#000000',
  },
}
SCSS
$custom: #7f29c5;
$custom-light: #ab6dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29c5",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 197
  },
  "hsl": {
    "h": 273.077,
    "s": 65.546,
    "l": 46.667
  },
  "oklch": {
    "l": 0.49463,
    "c": 0.22291,
    "h": 304
  },
  "luminance": 0.10129
}

Semantic roles & 50–950 ramp

primary
#7F29C5
secondary
#A1CE7C
accent
#E83F8B
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110815
muted
#807A83

Preview Lab

Preview with #7F29C5

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

Preview Lab → · Contrast checker → · Palette generator →

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