#7947BF#7947BF

#7947BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.8% C 0.180 H 299.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#7947BF
RGBrgb(121, 71, 191)
HSLhsl(265, 48%, 51%)
HSVhsv(265, 63%, 75%)
CMYKcmyk(36.6%, 62.8%, 0%, 25.1%)
CIE-LABlab(41.74, 46.22, -55.39)
CIE-LCHlch(41.74, 72.14, 309.84°)
OKLaboklab(51.77% 0.0879 -0.1575)
OKLCHoklch(51.77% 0.18 299.2)
XYZxyz(19.5400, 12.3328, 50.6311)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947BF #8DBF47
analogous
#4751BF #7947BF #B547BF
triadic
#7947BF #BF7947 #47BF79
tetradic
#7947BF #BF4751 #8DBF47 #47BFB5
square
#7947BF #BF4751 #8DBF47 #47BFB5
split-complementary
#7947BF #BFB547 #51BF47
monochromatic
#402468 #5C3495 #7947BF #9A74CF #BBA2DF

Accessibility & contrast

On white

6.06
#7947BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7947BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947BF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947BF#FFFFFF#000000##FFFFFF
##7947BF1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#1161BC
Tritanopia (blue-blind)
#69617C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7947bf;
/* rgb */ color: rgb(121, 71, 191);
/* oklch */ color: oklch(51.8% 0.180 299.2);
Tailwind
colors: {
  custom: {
    50: '#a47dd3',
    500: '#7947bf',
    950: '#000000',
  },
}
SCSS
$custom: #7947bf;
$custom-light: #a47dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7947bf",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 265,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.18039,
    "h": 299.2
  },
  "luminance": 0.12333
}

Semantic roles & 50–950 ramp

primary
#7947BF
secondary
#B5CB96
accent
#D8509F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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