#7F29B4#7F29B4

#7F29B4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.207 H 308.5°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7F29B4
RGBrgb(127, 41, 180)
HSLhsl(277, 63%, 43%)
HSVhsv(277, 77%, 71%)
CMYKcmyk(29.4%, 77.2%, 0%, 29.4%)
CIE-LABlab(36.73, 58.68, -57.00)
CIE-LCHlch(36.73, 81.81, 315.83°)
OKLaboklab(48.11% 0.1287 -0.1619)
OKLCHoklch(48.11% 0.207 308.5)
XYZxyz(17.7818, 9.3935, 44.0475)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B4 #5EB429
analogous
#3929B4 #7F29B4 #B429A3
triadic
#7F29B4 #B47F29 #29B47F
tetradic
#7F29B4 #B43929 #5EB429 #29A3B4
square
#7F29B4 #B43929 #5EB429 #29A3B4
split-complementary
#7F29B4 #A3B429 #29B439
monochromatic
#391250 #5C1E82 #7F29B4 #9E45D5 #B877E0

Accessibility & contrast

On white

7.30
#7F29B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#7F29B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B4
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B4#FFFFFF#000000##FFFFFF
##7F29B41.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B8
Deuteranopia (green-blind)
#0057B1
Tritanopia (blue-blind)
#774C6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7f29b4;
/* rgb */ color: rgb(127, 41, 180);
/* oklch */ color: oklch(48.1% 0.207 308.5);
Tailwind
colors: {
  custom: {
    50: '#a96dcb',
    500: '#7f29b4',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b4;
$custom-light: #a96dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b4",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 180
  },
  "hsl": {
    "h": 277.122,
    "s": 62.896,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48106,
    "c": 0.20681,
    "h": 308.5
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#7F29B4
secondary
#92C871
accent
#E64280
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #7F29B4

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

Preview Lab → · Contrast checker → · Palette generator →

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