#7F47BB#7F47BB

#7F47BB is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.1% C 0.177 H 303.0°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7F47BB
RGBrgb(127, 71, 187)
HSLhsl(269, 46%, 51%)
HSVhsv(269, 62%, 73%)
CMYKcmyk(32.1%, 62%, 0%, 26.7%)
CIE-LABlab(42.16, 46.55, -52.34)
CIE-LCHlch(42.16, 70.05, 311.65°)
OKLaboklab(52.15% 0.0962 -0.1483)
OKLCHoklch(52.15% 0.177 303)
XYZxyz(19.9732, 12.6064, 48.3851)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F47BB #83BB47
analogous
#4749BB #7F47BB #B947BB
triadic
#7F47BB #BB7F47 #47BB7F
tetradic
#7F47BB #BB4749 #83BB47 #47BBB9
square
#7F47BB #BB4749 #83BB47 #47BBB9
split-complementary
#7F47BB #BBB947 #49BB47
monochromatic
#432563 #613590 #7F47BB #9E74CC #BDA0DC

Accessibility & contrast

On white

5.96
#7F47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7F47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F47BB
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F47BB#FFFFFF#000000##FFFFFF
##7F47BB1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#2563B8
Tritanopia (blue-blind)
#735F7A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7f47bb;
/* rgb */ color: rgb(127, 71, 187);
/* oklch */ color: oklch(52.1% 0.177 303.0);
Tailwind
colors: {
  custom: {
    50: '#a87dd0',
    500: '#7f47bb',
    950: '#000000',
  },
}
SCSS
$custom: #7f47bb;
$custom-light: #a87dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f47bb",
  "rgb": {
    "r": 127,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 268.966,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.52145,
    "c": 0.17681,
    "h": 303
  },
  "luminance": 0.12606
}

Semantic roles & 50–950 ramp

primary
#7F47BB
secondary
#B0C995
accent
#D65296
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7F47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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