#7F29AF#7F29AF

#7F29AF is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.7% C 0.202 H 309.9°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7F29AF
RGBrgb(127, 41, 175)
HSLhsl(279, 62%, 42%)
HSVhsv(279, 77%, 69%)
CMYKcmyk(27.4%, 76.6%, 0%, 31.4%)
CIE-LABlab(36.35, 57.60, -54.64)
CIE-LCHlch(36.35, 79.39, 316.51°)
OKLaboklab(47.72% 0.1297 -0.1549)
OKLCHoklch(47.72% 0.202 309.9)
XYZxyz(17.2817, 9.1934, 41.4133)
Luminance0.0919 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29AF #59AF29
analogous
#3C29AF #7F29AF #AF299C
triadic
#7F29AF #AF7F29 #29AF7F
tetradic
#7F29AF #AF3C29 #59AF29 #299CAF
square
#7F29AF #AF3C29 #59AF29 #299CAF
split-complementary
#7F29AF #9CAF29 #29AF3C
monochromatic
#37124C #5B1D7D #7F29AF #9F42D3 #B874DE

Accessibility & contrast

On white

7.40
#7F29AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7F29AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29AF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29AF#FFFFFF#000000##FFFFFF
##7F29AF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#78496B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f29af;
/* rgb */ color: rgb(127, 41, 175);
/* oklch */ color: oklch(47.7% 0.202 309.9);
Tailwind
colors: {
  custom: {
    50: '#a96cc8',
    500: '#7f29af',
    950: '#000000',
  },
}
SCSS
$custom: #7f29af;
$custom-light: #a96cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29af",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 175
  },
  "hsl": {
    "h": 278.507,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.47722,
    "c": 0.20209,
    "h": 309.9
  },
  "luminance": 0.09193
}

Semantic roles & 50–950 ramp

primary
#7F29AF
secondary
#8DC66E
accent
#E5437D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29AF

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

Preview Lab → · Contrast checker → · Palette generator →

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