#7F47D1#7F47D1

#7F47D1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.202 H 297.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#7F47D1
RGBrgb(127, 71, 209)
HSLhsl(264, 60%, 55%)
HSVhsv(264, 66%, 82%)
CMYKcmyk(39.2%, 66%, 0%, 18%)
CIE-LABlab(43.69, 52.09, -62.64)
CIE-LCHlch(43.69, 81.47, 309.75°)
OKLaboklab(53.73% 0.0944 -0.1786)
OKLCHoklch(53.73% 0.202 297.8)
XYZxyz(22.5113, 13.6216, 61.7524)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D1 #99D147
analogous
#4754D1 #7F47D1 #C447D1
triadic
#7F47D1 #D17F47 #47D17F
tetradic
#7F47D1 #D14754 #99D147 #47D1C4
square
#7F47D1 #D14754 #99D147 #47D1C4
split-complementary
#7F47D1 #D1C447 #54D147
monochromatic
#46207E #612CAF #7F47D1 #A178DD #C3A9E9

Accessibility & contrast

On white

5.64
#7F47D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7F47D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D1
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D1#FFFFFF#000000##FFFFFF
##7F47D11.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D5
Deuteranopia (green-blind)
#0066CE
Tritanopia (blue-blind)
#6B6786
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f47d1;
/* rgb */ color: rgb(127, 71, 209);
/* oklch */ color: oklch(53.7% 0.202 297.8);
Tailwind
colors: {
  custom: {
    50: '#aa7ee0',
    500: '#7f47d1',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d1;
$custom-light: #aa7ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d1",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 264.348,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.53726,
    "c": 0.20203,
    "h": 297.8
  },
  "luminance": 0.13622
}

Semantic roles & 50–950 ramp

primary
#7F47D1
secondary
#BFD79D
accent
#E345A3
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F47D1

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

Preview Lab → · Contrast checker → · Palette generator →

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