#7F47CE#7F47CE

#7F47CE is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.5% C 0.199 H 298.5°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#7F47CE
RGBrgb(127, 71, 206)
HSLhsl(265, 58%, 54%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(38.3%, 65.5%, 0%, 19.2%)
CIE-LABlab(43.47, 51.33, -61.27)
CIE-LCHlch(43.47, 79.92, 309.96°)
OKLaboklab(53.5% 0.0947 -0.1746)
OKLCHoklch(53.5% 0.199 298.5)
XYZxyz(22.1434, 13.4744, 59.8147)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CE #96CE47
analogous
#4753CE #7F47CE #C347CE
triadic
#7F47CE #CE7F47 #47CE7F
tetradic
#7F47CE #CE4753 #96CE47 #47CEC3
square
#7F47CE #CE4753 #96CE47 #47CEC3
split-complementary
#7F47CE #CEC347 #53CE47
monochromatic
#46217A #612DAA #7F47CE #A177DB #C2A8E8

Accessibility & contrast

On white

5.68
#7F47CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#7F47CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47CE
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CE#FFFFFF#000000##FFFFFF
##7F47CE1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#0065CB
Tritanopia (blue-blind)
#6C6684
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f47ce;
/* rgb */ color: rgb(127, 71, 206);
/* oklch */ color: oklch(53.5% 0.199 298.5);
Tailwind
colors: {
  custom: {
    50: '#aa7ede',
    500: '#7f47ce',
    950: '#000000',
  },
}
SCSS
$custom: #7f47ce;
$custom-light: #aa7ede;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47ce",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 264.889,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.53503,
    "c": 0.19861,
    "h": 298.5
  },
  "luminance": 0.13475
}

Semantic roles & 50–950 ramp

primary
#7F47CE
secondary
#BDD59C
accent
#E147A1
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F47CE

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

Preview Lab → · Contrast checker → · Palette generator →

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