#7F47CF#7F47CF

#7F47CF is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.6% C 0.200 H 298.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7F47CF
RGBrgb(127, 71, 207)
HSLhsl(265, 59%, 55%)
HSVhsv(265, 66%, 81%)
CMYKcmyk(38.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(43.54, 51.58, -61.73)
CIE-LCHlch(43.54, 80.44, 309.88°)
OKLaboklab(53.58% 0.0946 -0.1759)
OKLCHoklch(53.58% 0.2 298.3)
XYZxyz(22.2653, 13.5232, 60.4566)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47CF #97CF47
analogous
#4753CF #7F47CF #C347CF
triadic
#7F47CF #CF7F47 #47CF7F
tetradic
#7F47CF #CF4753 #97CF47 #47CFC3
square
#7F47CF #CF4753 #97CF47 #47CFC3
split-complementary
#7F47CF #CFC347 #53CF47
monochromatic
#46207B #612DAC #7F47CF #A178DC #C3A8E8

Accessibility & contrast

On white

5.67
#7F47CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7F47CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47CF#FFFFFF#000000##FFFFFF
##7F47CF1.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#0065CC
Tritanopia (blue-blind)
#6C6685
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7f47cf;
/* rgb */ color: rgb(127, 71, 207);
/* oklch */ color: oklch(53.6% 0.200 298.3);
Tailwind
colors: {
  custom: {
    50: '#aa7edf',
    500: '#7f47cf',
    950: '#000000',
  },
}
SCSS
$custom: #7f47cf;
$custom-light: #aa7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47cf",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 264.706,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.53577,
    "c": 0.19975,
    "h": 298.3
  },
  "luminance": 0.13523
}

Semantic roles & 50–950 ramp

primary
#7F47CF
secondary
#BED69C
accent
#E246A2
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #7F47CF

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

Preview Lab → · Contrast checker → · Palette generator →

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