#7F29AE#7F29AE

#7F29AE is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.201 H 310.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#7F29AE
RGBrgb(127, 41, 174)
HSLhsl(279, 62%, 42%)
HSVhsv(279, 76%, 68%)
CMYKcmyk(27%, 76.4%, 0%, 31.8%)
CIE-LABlab(36.28, 57.38, -54.17)
CIE-LCHlch(36.28, 78.91, 316.65°)
OKLaboklab(47.65% 0.1299 -0.1536)
OKLCHoklch(47.65% 0.201 310.2)
XYZxyz(17.1838, 9.1543, 40.8979)
Luminance0.0915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29AE #58AE29
analogous
#3D29AE #7F29AE #AE299B
triadic
#7F29AE #AE7F29 #29AE7F
tetradic
#7F29AE #AE3D29 #58AE29 #299BAE
square
#7F29AE #AE3D29 #58AE29 #299BAE
split-complementary
#7F29AE #9BAE29 #29AE3D
monochromatic
#37124B #5B1D7C #7F29AE #9F42D2 #B873DE

Accessibility & contrast

On white

7.42
#7F29AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7F29AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29AE
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29AE#FFFFFF#000000##FFFFFF
##7F29AE1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0257AB
Tritanopia (blue-blind)
#78496A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7f29ae;
/* rgb */ color: rgb(127, 41, 174);
/* oklch */ color: oklch(47.6% 0.201 310.2);
Tailwind
colors: {
  custom: {
    50: '#a96cc7',
    500: '#7f29ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f29ae;
$custom-light: #a96cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29ae",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 174
  },
  "hsl": {
    "h": 278.797,
    "s": 61.86,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.20115,
    "h": 310.2
  },
  "luminance": 0.09154
}

Semantic roles & 50–950 ramp

primary
#7F29AE
secondary
#8CC56D
accent
#E5437C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29AE

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

Preview Lab → · Contrast checker → · Palette generator →

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