#7F47D3#7F47D3

#7F47D3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.9% C 0.204 H 297.4°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#7F47D3
RGBrgb(127, 71, 211)
HSLhsl(264, 61%, 55%)
HSVhsv(264, 66%, 83%)
CMYKcmyk(39.8%, 66.4%, 0%, 17.3%)
CIE-LABlab(43.83, 52.60, -63.56)
CIE-LCHlch(43.83, 82.50, 309.61°)
OKLaboklab(53.88% 0.0941 -0.1813)
OKLCHoklch(53.88% 0.204 297.4)
XYZxyz(22.7605, 13.7213, 63.0647)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D3 #9BD347
analogous
#4755D3 #7F47D3 #C547D3
triadic
#7F47D3 #D37F47 #47D37F
tetradic
#7F47D3 #D34755 #9BD347 #47D3C5
square
#7F47D3 #D34755 #9BD347 #47D3C5
split-complementary
#7F47D3 #D3C547 #55D347
monochromatic
#461F81 #612BB2 #7F47D3 #A178DF #C4AAEB

Accessibility & contrast

On white

5.61
#7F47D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#7F47D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D3
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D3#FFFFFF#000000##FFFFFF
##7F47D31.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#6A6887
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f47d3;
/* rgb */ color: rgb(127, 71, 211);
/* oklch */ color: oklch(53.9% 0.204 297.4);
Tailwind
colors: {
  custom: {
    50: '#aa7ee1',
    500: '#7f47d3',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d3;
$custom-light: #aa7ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d3",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 264,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.53876,
    "c": 0.20429,
    "h": 297.4
  },
  "luminance": 0.13722
}

Semantic roles & 50–950 ramp

primary
#7F47D3
secondary
#C1D89E
accent
#E543A4
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F47D3

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

Preview Lab → · Contrast checker → · Palette generator →

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