#7F47D8#7F47D8

#7F47D8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.210 H 296.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7F47D8
RGBrgb(127, 71, 216)
HSLhsl(263, 65%, 56%)
HSVhsv(263, 67%, 85%)
CMYKcmyk(41.2%, 67.1%, 0%, 15.3%)
CIE-LABlab(44.20, 53.89, -65.83)
CIE-LCHlch(44.20, 85.07, 309.30°)
OKLaboklab(54.26% 0.0934 -0.188)
OKLCHoklch(54.26% 0.21 296.4)
XYZxyz(23.3971, 13.9759, 66.4173)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47D8 #A0D847
analogous
#4758D8 #7F47D8 #C747D8
triadic
#7F47D8 #D87F47 #47D87F
tetradic
#7F47D8 #D84758 #A0D847 #47D8C7
square
#7F47D8 #D84758 #A0D847 #47D8C7
split-complementary
#7F47D8 #D8C747 #58D847
monochromatic
#461D88 #6027BA #7F47D8 #A279E3 #C5ACED

Accessibility & contrast

On white

5.53
#7F47D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7F47D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47D8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47D8#FFFFFF#000000##FFFFFF
##7F47D81.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DC
Deuteranopia (green-blind)
#0067D5
Tritanopia (blue-blind)
#686A8A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7f47d8;
/* rgb */ color: rgb(127, 71, 216);
/* oklch */ color: oklch(54.3% 0.210 296.4);
Tailwind
colors: {
  custom: {
    50: '#ab7ee5',
    500: '#7f47d8',
    950: '#000000',
  },
}
SCSS
$custom: #7f47d8;
$custom-light: #ab7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47d8",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 263.172,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54256,
    "c": 0.20994,
    "h": 296.4
  },
  "luminance": 0.13976
}

Semantic roles & 50–950 ramp

primary
#7F47D8
secondary
#C4DBA0
accent
#E840A7
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #7F47D8

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

Preview Lab → · Contrast checker → · Palette generator →

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