#7F32AE#7F32AE

#7F32AE is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 309.4°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#7F32AE
RGBrgb(127, 50, 174)
HSLhsl(277, 55%, 44%)
HSVhsv(277, 71%, 68%)
CMYKcmyk(27%, 71.3%, 0%, 31.8%)
CIE-LABlab(37.57, 53.71, -52.08)
CIE-LCHlch(37.57, 74.81, 315.88°)
OKLaboklab(48.56% 0.1212 -0.1475)
OKLCHoklch(48.56% 0.191 309.4)
XYZxyz(17.5315, 9.8496, 41.0138)
Luminance0.0985 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F32AE #61AE32
analogous
#4132AE #7F32AE #AE329F
triadic
#7F32AE #AE7F32 #32AE7F
tetradic
#7F32AE #AE4132 #61AE32 #329FAE
square
#7F32AE #AE4132 #61AE32 #329FAE
split-complementary
#7F32AE #9FAE32 #32AE41
monochromatic
#3A174F #5C247E #7F32AE #9E50CD #B880DA

Accessibility & contrast

On white

7.07
#7F32AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7F32AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F32AE
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F32AE#FFFFFF#000000##FFFFFF
##7F32AE1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B2
Deuteranopia (green-blind)
#1859AB
Tritanopia (blue-blind)
#784E6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7f32ae;
/* rgb */ color: rgb(127, 50, 174);
/* oklch */ color: oklch(48.6% 0.191 309.4);
Tailwind
colors: {
  custom: {
    50: '#a871c7',
    500: '#7f32ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f32ae;
$custom-light: #a871c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f32ae",
  "rgb": {
    "r": 127,
    "g": 50,
    "b": 174
  },
  "hsl": {
    "h": 277.258,
    "s": 55.357,
    "l": 43.922
  },
  "oklch": {
    "l": 0.48561,
    "c": 0.19088,
    "h": 309.4
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#7F32AE
secondary
#95C478
accent
#DF4982
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #7F32AE

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

Preview Lab → · Contrast checker → · Palette generator →

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