#7F47AE#7F47AE

#7F47AE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.3% C 0.162 H 306.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7F47AE
RGBrgb(127, 71, 174)
HSLhsl(273, 42%, 48%)
HSVhsv(273, 59%, 68%)
CMYKcmyk(27%, 59.2%, 0%, 31.8%)
CIE-LABlab(41.33, 43.38, -46.02)
CIE-LCHlch(41.33, 63.25, 313.31°)
OKLaboklab(51.28% 0.0965 -0.1298)
OKLCHoklch(51.28% 0.162 306.6)
XYZxyz(18.6440, 12.0747, 41.3847)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47AE #76AE47
analogous
#4B47AE #7F47AE #AE47AA
triadic
#7F47AE #AE7F47 #47AE7F
tetradic
#7F47AE #AE4B47 #76AE47 #47AAAE
square
#7F47AE #AE4B47 #76AE47 #47AAAE
split-complementary
#7F47AE #AAAE47 #47AE4B
monochromatic
#402457 #5F3583 #7F47AE #9D6EC4 #BA9AD6

Accessibility & contrast

On white

6.15
#7F47AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7F47AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47AE
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47AE#FFFFFF#000000##FFFFFF
##7F47AE1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C60B1
Deuteranopia (green-blind)
#3562AC
Tritanopia (blue-blind)
#775B74
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7f47ae;
/* rgb */ color: rgb(127, 71, 174);
/* oklch */ color: oklch(51.3% 0.162 306.6);
Tailwind
colors: {
  custom: {
    50: '#a77dc7',
    500: '#7f47ae',
    950: '#000000',
  },
}
SCSS
$custom: #7f47ae;
$custom-light: #a77dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47ae",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 174
  },
  "hsl": {
    "h": 272.621,
    "s": 42.041,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.16175,
    "h": 306.6
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#7F47AE
secondary
#A6C28F
accent
#D2568E
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82

Preview Lab

Preview with #7F47AE

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

Preview Lab → · Contrast checker → · Palette generator →

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