#7947BB#7947BB

#7947BB is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.176 H 300.1°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7947BB
RGBrgb(121, 71, 187)
HSLhsl(266, 46%, 51%)
HSVhsv(266, 62%, 73%)
CMYKcmyk(35.3%, 62%, 0%, 26.7%)
CIE-LABlab(41.47, 45.19, -53.50)
CIE-LCHlch(41.47, 70.03, 310.19°)
OKLaboklab(51.48% 0.0882 -0.1519)
OKLCHoklch(51.48% 0.176 300.1)
XYZxyz(19.1059, 12.1591, 48.3444)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947BB #89BB47
analogous
#474FBB #7947BB #B347BB
triadic
#7947BB #BB7947 #47BB79
tetradic
#7947BB #BB474F #89BB47 #47BBB3
square
#7947BB #BB474F #89BB47 #47BBB3
split-complementary
#7947BB #BBB347 #4FBB47
monochromatic
#3F2563 #5C3590 #7947BB #9A74CC #BAA0DC

Accessibility & contrast

On white

6.12
#7947BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7947BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947BB
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947BB#FFFFFF#000000##FFFFFF
##7947BB1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1B61B8
Tritanopia (blue-blind)
#6B607A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7947bb;
/* rgb */ color: rgb(121, 71, 187);
/* oklch */ color: oklch(51.5% 0.176 300.1);
Tailwind
colors: {
  custom: {
    50: '#a47dd0',
    500: '#7947bb',
    950: '#000000',
  },
}
SCSS
$custom: #7947bb;
$custom-light: #a47dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7947bb",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 265.862,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.17566,
    "h": 300.1
  },
  "luminance": 0.12159
}

Semantic roles & 50–950 ramp

primary
#7947BB
secondary
#B2C995
accent
#D6529D
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7947BB

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

Preview Lab → · Contrast checker → · Palette generator →

#7947BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva