#7F29A3#7F29A3

#7F29A3 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.8% C 0.191 H 313.7°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7F29A3
RGBrgb(127, 41, 163)
HSLhsl(282, 60%, 40%)
HSVhsv(282, 75%, 64%)
CMYKcmyk(22.1%, 74.8%, 0%, 36.1%)
CIE-LABlab(35.48, 55.05, -48.86)
CIE-LCHlch(35.48, 73.61, 318.41°)
OKLaboklab(46.83% 0.1318 -0.138)
OKLCHoklch(46.83% 0.191 313.7)
XYZxyz(16.1550, 8.7428, 35.4798)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29A3 #4DA329
analogous
#4229A3 #7F29A3 #A3298A
triadic
#7F29A3 #A37F29 #29A37F
tetradic
#7F29A3 #A34229 #4DA329 #298AA3
square
#7F29A3 #A34229 #4DA329 #298AA3
split-complementary
#7F29A3 #8AA329 #29A342
monochromatic
#331041 #591D72 #7F29A3 #A33BCE #BA6CDA

Accessibility & contrast

On white

7.64
#7F29A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#7F29A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29A3
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29A3#FFFFFF#000000##FFFFFF
##7F29A31.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#1F55A0
Tritanopia (blue-blind)
#7B4464
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #7f29a3;
/* rgb */ color: rgb(127, 41, 163);
/* oklch */ color: oklch(46.8% 0.191 313.7);
Tailwind
colors: {
  custom: {
    50: '#a86cbf',
    500: '#7f29a3',
    950: '#000000',
  },
}
SCSS
$custom: #7f29a3;
$custom-light: #a86cbf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29a3",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 163
  },
  "hsl": {
    "h": 282.295,
    "s": 59.804,
    "l": 40
  },
  "oklch": {
    "l": 0.46833,
    "c": 0.19081,
    "h": 313.7
  },
  "luminance": 0.08742
}

Semantic roles & 50–950 ramp

primary
#7F29A3
secondary
#82C167
accent
#E34573
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7F29A3

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

Preview Lab → · Contrast checker → · Palette generator →

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