#7947BC#7947BC

#7947BC is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.6% C 0.177 H 299.9°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#7947BC
RGBrgb(121, 71, 188)
HSLhsl(266, 47%, 51%)
HSVhsv(266, 62%, 74%)
CMYKcmyk(35.6%, 62.2%, 0%, 26.3%)
CIE-LABlab(41.54, 45.45, -53.97)
CIE-LCHlch(41.54, 70.56, 310.10°)
OKLaboklab(51.55% 0.0881 -0.1533)
OKLCHoklch(51.55% 0.177 299.9)
XYZxyz(19.2133, 12.2021, 48.9102)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947BC #8ABC47
analogous
#474FBC #7947BC #B347BC
triadic
#7947BC #BC7947 #47BC79
tetradic
#7947BC #BC474F #8ABC47 #47BCB3
square
#7947BC #BC474F #8ABC47 #47BCB3
split-complementary
#7947BC #BCB347 #4FBC47
monochromatic
#402464 #5C3591 #7947BC #9A74CC #BAA1DD

Accessibility & contrast

On white

6.10
#7947BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#7947BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947BC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947BC#FFFFFF#000000##FFFFFF
##7947BC1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C0
Deuteranopia (green-blind)
#1961B9
Tritanopia (blue-blind)
#6A607B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7947bc;
/* rgb */ color: rgb(121, 71, 188);
/* oklch */ color: oklch(51.6% 0.177 299.9);
Tailwind
colors: {
  custom: {
    50: '#a47dd1',
    500: '#7947bc',
    950: '#000000',
  },
}
SCSS
$custom: #7947bc;
$custom-light: #a47dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7947bc",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 265.641,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51554,
    "c": 0.17685,
    "h": 299.9
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#7947BC
secondary
#B3C995
accent
#D6529E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7947BC

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

Preview Lab → · Contrast checker → · Palette generator →

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