#7F47D6#7F47D6

#7F47D6 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.1% C 0.208 H 296.8°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#7F47D6
RGBrgb(127, 71, 214)
HSLhsl(263, 64%, 56%)
HSVhsv(263, 67%, 84%)
CMYKcmyk(40.7%, 66.8%, 0%, 16.1%)
CIE-LABlab(44.05, 53.37, -64.92)
CIE-LCHlch(44.05, 84.04, 309.42°)
OKLaboklab(54.1% 0.0937 -0.1853)
OKLCHoklch(54.1% 0.208 296.8)
XYZxyz(23.1401, 13.8731, 65.0639)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D6 #9ED647
analogous
#4756D6 #7F47D6 #C747D6
triadic
#7F47D6 #D67F47 #47D67F
tetradic
#7F47D6 #D64756 #9ED647 #47D6C7
square
#7F47D6 #D64756 #9ED647 #47D6C7
split-complementary
#7F47D6 #D6C747 #56D647
monochromatic
#461E85 #6029B7 #7F47D6 #A279E1 #C5ABEC

Accessibility & contrast

On white

5.56
#7F47D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#7F47D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D6
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D6#FFFFFF#000000##FFFFFF
##7F47D61.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#0066D3
Tritanopia (blue-blind)
#696989
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f47d6;
/* rgb */ color: rgb(127, 71, 214);
/* oklch */ color: oklch(54.1% 0.208 296.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ee4',
    500: '#7f47d6',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d6;
$custom-light: #aa7ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d6",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 263.497,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54103,
    "c": 0.20768,
    "h": 296.8
  },
  "luminance": 0.13874
}

Semantic roles & 50–950 ramp

primary
#7F47D6
secondary
#C3DA9F
accent
#E741A6
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F47D6

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

Preview Lab → · Contrast checker → · Palette generator →

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