#7947A2#7947A2

#7947A2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.146 H 307.3°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7947A2
RGBrgb(121, 71, 162)
HSLhsl(273, 39%, 46%)
HSVhsv(273, 56%, 64%)
CMYKcmyk(25.3%, 56.2%, 0%, 36.5%)
CIE-LABlab(39.88, 38.94, -41.25)
CIE-LCHlch(39.88, 56.73, 313.35°)
OKLaboklab(49.82% 0.0883 -0.116)
OKLCHoklch(49.82% 0.146 307.3)
XYZxyz(16.6587, 11.1802, 35.4558)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947A2 #70A247
analogous
#4B47A2 #7947A2 #A2479D
triadic
#7947A2 #A27947 #47A279
tetradic
#7947A2 #A24B47 #70A247 #479DA2
square
#7947A2 #A24B47 #70A247 #479DA2
split-complementary
#7947A2 #9DA247 #47A24B
monochromatic
#39224D #593477 #7947A2 #9769BD #B594D0

Accessibility & contrast

On white

6.49
#7947A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7947A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947A2
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947A2#FFFFFF#000000##FFFFFF
##7947A21.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA5
Deuteranopia (green-blind)
#3A5EA0
Tritanopia (blue-blind)
#73586D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7947a2;
/* rgb */ color: rgb(121, 71, 162);
/* oklch */ color: oklch(49.8% 0.146 307.3);
Tailwind
colors: {
  custom: {
    50: '#a27cbe',
    500: '#7947a2',
    950: '#000000',
  },
}
SCSS
$custom: #7947a2;
$custom-light: #a27cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#7947a2",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 162
  },
  "hsl": {
    "h": 272.967,
    "s": 39.056,
    "l": 45.686
  },
  "oklch": {
    "l": 0.49817,
    "c": 0.1458,
    "h": 307.3
  },
  "luminance": 0.1118
}

Semantic roles & 50–950 ramp

primary
#7947A2
secondary
#A0BC89
accent
#CF598E
background
#FAF7FB
surface
#F4EEF7
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7947A2

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

Preview Lab → · Contrast checker → · Palette generator →

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