#7F47CC#7F47CC

#7F47CC is a mid, vivid violet. Relative luminance 0.134; OKLCH L 53.4% C 0.196 H 298.9°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#7F47CC
RGBrgb(127, 71, 204)
HSLhsl(265, 57%, 54%)
HSVhsv(265, 65%, 80%)
CMYKcmyk(37.7%, 65.2%, 0%, 20%)
CIE-LABlab(43.33, 50.82, -60.34)
CIE-LCHlch(43.33, 78.89, 310.10°)
OKLaboklab(53.36% 0.0949 -0.1719)
OKLCHoklch(53.36% 0.196 298.9)
XYZxyz(21.9020, 13.3779, 58.5433)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CC #94CC47
analogous
#4752CC #7F47CC #C247CC
triadic
#7F47CC #CC7F47 #47CC7F
tetradic
#7F47CC #CC4752 #94CC47 #47CCC2
square
#7F47CC #CC4752 #94CC47 #47CCC2
split-complementary
#7F47CC #CCC247 #52CC47
monochromatic
#452177 #612EA7 #7F47CC #A077D9 #C2A7E7

Accessibility & contrast

On white

5.71
#7F47CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#7F47CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47CC
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CC#FFFFFF#000000##FFFFFF
##7F47CC1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#0065C9
Tritanopia (blue-blind)
#6D6583
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7f47cc;
/* rgb */ color: rgb(127, 71, 204);
/* oklch */ color: oklch(53.4% 0.196 298.9);
Tailwind
colors: {
  custom: {
    50: '#aa7edc',
    500: '#7f47cc',
    950: '#000000',
  },
}
SCSS
$custom: #7f47cc;
$custom-light: #aa7edc;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47cc",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 265.263,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.19633,
    "h": 298.9
  },
  "luminance": 0.13378
}

Semantic roles & 50–950 ramp

primary
#7F47CC
secondary
#BCD49B
accent
#E048A0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7F47CC

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

Preview Lab → · Contrast checker → · Palette generator →

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