#7947BD#7947BD

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

Color values

HEX#7947BD
RGBrgb(121, 71, 189)
HSLhsl(265, 47%, 51%)
HSVhsv(265, 62%, 74%)
CMYKcmyk(36%, 62.4%, 0%, 25.9%)
CIE-LABlab(41.60, 45.70, -54.45)
CIE-LCHlch(41.60, 71.09, 310.01°)
OKLaboklab(51.63% 0.088 -0.1547)
OKLCHoklch(51.63% 0.178 299.6)
XYZxyz(19.3215, 12.2454, 49.4799)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947BD #8BBD47
analogous
#4750BD #7947BD #B447BD
triadic
#7947BD #BD7947 #47BD79
tetradic
#7947BD #BD4750 #8BBD47 #47BDB4
square
#7947BD #BD4750 #8BBD47 #47BDB4
split-complementary
#7947BD #BDB447 #50BD47
monochromatic
#402465 #5C3492 #7947BD #9A74CD #BBA1DD

Accessibility & contrast

On white

6.09
#7947BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7947BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947BD
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947BD#FFFFFF#000000##FFFFFF
##7947BD1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1761BA
Tritanopia (blue-blind)
#6A617B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7947bd;
/* rgb */ color: rgb(121, 71, 189);
/* oklch */ color: oklch(51.6% 0.178 299.6);
Tailwind
colors: {
  custom: {
    50: '#a47dd2',
    500: '#7947bd',
    950: '#000000',
  },
}
SCSS
$custom: #7947bd;
$custom-light: #a47dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7947bd",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 265.424,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.17803,
    "h": 299.6
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#7947BD
secondary
#B4CA96
accent
#D7519E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7947BD

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

Preview Lab → · Contrast checker → · Palette generator →

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