#7F47BF#7F47BF

#7F47BF is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.4% C 0.181 H 301.9°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#7F47BF
RGBrgb(127, 71, 191)
HSLhsl(268, 48%, 51%)
HSVhsv(268, 63%, 75%)
CMYKcmyk(33.5%, 62.8%, 0%, 25.1%)
CIE-LABlab(42.43, 47.55, -54.25)
CIE-LCHlch(42.43, 72.14, 311.23°)
OKLaboklab(52.42% 0.096 -0.1539)
OKLCHoklch(52.42% 0.181 301.9)
XYZxyz(20.4074, 12.7800, 50.6718)
Luminance0.1278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47BF #87BF47
analogous
#474BBF #7F47BF #BB47BF
triadic
#7F47BF #BF7F47 #47BF7F
tetradic
#7F47BF #BF474B #87BF47 #47BFBB
square
#7F47BF #BF474B #87BF47 #47BFBB
split-complementary
#7F47BF #BFBB47 #4BBF47
monochromatic
#442468 #613495 #7F47BF #9F74CF #BEA2DF

Accessibility & contrast

On white

5.91
#7F47BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7F47BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47BF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47BF#FFFFFF#000000##FFFFFF
##7F47BF1.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C3
Deuteranopia (green-blind)
#1F64BC
Tritanopia (blue-blind)
#72617C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7f47bf;
/* rgb */ color: rgb(127, 71, 191);
/* oklch */ color: oklch(52.4% 0.181 301.9);
Tailwind
colors: {
  custom: {
    50: '#a87dd3',
    500: '#7f47bf',
    950: '#000000',
  },
}
SCSS
$custom: #7f47bf;
$custom-light: #a87dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47bf",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 268,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.52423,
    "c": 0.18143,
    "h": 301.9
  },
  "luminance": 0.1278
}

Semantic roles & 50–950 ramp

primary
#7F47BF
secondary
#B3CB96
accent
#D85098
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7F47BF

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

Preview Lab → · Contrast checker → · Palette generator →

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