#7F29B7#7F29B7

#7F29B7 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.3% C 0.210 H 307.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7F29B7
RGBrgb(127, 41, 183)
HSLhsl(276, 63%, 44%)
HSVhsv(276, 78%, 72%)
CMYKcmyk(30.6%, 77.6%, 0%, 28.2%)
CIE-LABlab(36.96, 59.33, -58.40)
CIE-LCHlch(36.96, 83.25, 315.45°)
OKLaboklab(48.34% 0.128 -0.166)
OKLCHoklch(48.34% 0.21 307.6)
XYZxyz(18.0908, 9.5171, 45.6745)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F29B7 #61B729
analogous
#3829B7 #7F29B7 #B729A8
triadic
#7F29B7 #B77F29 #29B77F
tetradic
#7F29B7 #B73829 #61B729 #29A8B7
square
#7F29B7 #B73829 #61B729 #29A8B7
split-complementary
#7F29B7 #A8B729 #29B738
monochromatic
#3A1353 #5C1E85 #7F29B7 #9E47D6 #B879E1

Accessibility & contrast

On white

7.23
#7F29B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7F29B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F29B7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F29B7#FFFFFF#000000##FFFFFF
##7F29B71.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0058B4
Tritanopia (blue-blind)
#764D6F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7f29b7;
/* rgb */ color: rgb(127, 41, 183);
/* oklch */ color: oklch(48.3% 0.210 307.6);
Tailwind
colors: {
  custom: {
    50: '#a96dce',
    500: '#7f29b7',
    950: '#000000',
  },
}
SCSS
$custom: #7f29b7;
$custom-light: #a96dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7f29b7",
  "rgb": {
    "r": 127,
    "g": 41,
    "b": 183
  },
  "hsl": {
    "h": 276.338,
    "s": 63.393,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48339,
    "c": 0.20965,
    "h": 307.6
  },
  "luminance": 0.09517
}

Semantic roles & 50–950 ramp

primary
#7F29B7
secondary
#95C973
accent
#E64182
background
#FAF6FC
surface
#F5ECF9
border
#CFC7D2
text
#110814
muted
#807B82

Preview Lab

Preview with #7F29B7

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

Preview Lab → · Contrast checker → · Palette generator →

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