#7947B8#7947B8

#7947B8 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.172 H 300.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7947B8
RGBrgb(121, 71, 184)
HSLhsl(267, 44%, 50%)
HSVhsv(267, 61%, 72%)
CMYKcmyk(34.2%, 61.4%, 0%, 27.8%)
CIE-LABlab(41.27, 44.42, -52.06)
CIE-LCHlch(41.27, 68.44, 310.47°)
OKLaboklab(51.27% 0.0883 -0.1477)
OKLCHoklch(51.27% 0.172 300.9)
XYZxyz(18.7881, 12.0320, 46.6707)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947B8 #86B847
analogous
#474DB8 #7947B8 #B247B8
triadic
#7947B8 #B87947 #47B879
tetradic
#7947B8 #B8474D #86B847 #47B8B2
square
#7947B8 #B8474D #86B847 #47B8B2
split-complementary
#7947B8 #B8B247 #4DB847
monochromatic
#3F2560 #5C368C #7947B8 #9973C9 #B99FDA

Accessibility & contrast

On white

6.16
#7947B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7947B8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947B8
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947B8#FFFFFF#000000##FFFFFF
##7947B81.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BC
Deuteranopia (green-blind)
#2161B5
Tritanopia (blue-blind)
#6C5F79
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7947b8;
/* rgb */ color: rgb(121, 71, 184);
/* oklch */ color: oklch(51.3% 0.172 300.9);
Tailwind
colors: {
  custom: {
    50: '#a47dce',
    500: '#7947b8',
    950: '#000000',
  },
}
SCSS
$custom: #7947b8;
$custom-light: #a47dce;
$custom-dark: #000000;
JSON
{
  "hex": "#7947b8",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 184
  },
  "hsl": {
    "h": 266.549,
    "s": 44.314,
    "l": 50
  },
  "oklch": {
    "l": 0.51274,
    "c": 0.1721,
    "h": 300.9
  },
  "luminance": 0.12032
}

Semantic roles & 50–950 ramp

primary
#7947B8
secondary
#B0C794
accent
#D4549B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7947B8

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

Preview Lab → · Contrast checker → · Palette generator →

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