#7947AA#7947AA

#7947AA is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.155 H 304.7°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7947AA
RGBrgb(121, 71, 170)
HSLhsl(270, 41%, 47%)
HSVhsv(270, 58%, 67%)
CMYKcmyk(28.8%, 58.2%, 0%, 33.3%)
CIE-LABlab(40.37, 40.90, -45.24)
CIE-LCHlch(40.37, 60.99, 312.12°)
OKLaboklab(50.33% 0.0885 -0.1277)
OKLCHoklch(50.33% 0.155 304.7)
XYZxyz(17.3925, 11.4738, 39.3208)
Luminance0.1147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947AA #78AA47
analogous
#4747AA #7947AA #AA47AA
triadic
#7947AA #AA7947 #47AA79
tetradic
#7947AA #AA4747 #78AA47 #47AAAA
square
#7947AA #AA4747 #78AA47 #47AAAA
split-complementary
#7947AA #AAAA47 #47AA47
monochromatic
#3C2354 #5A357F #7947AA #986CC2 #B698D4

Accessibility & contrast

On white

6.37
#7947AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7947AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947AA#FFFFFF#000000##FFFFFF
##7947AA1.006.373.296.37
#FFFFFF6.371.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5EAD
Deuteranopia (green-blind)
#335FA8
Tritanopia (blue-blind)
#705A71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7947aa;
/* rgb */ color: rgb(121, 71, 170);
/* oklch */ color: oklch(50.3% 0.155 304.7);
Tailwind
colors: {
  custom: {
    50: '#a37cc4',
    500: '#7947aa',
    950: '#000000',
  },
}
SCSS
$custom: #7947aa;
$custom-light: #a37cc4;
$custom-dark: #000000;
JSON
{
  "hex": "#7947aa",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 170
  },
  "hsl": {
    "h": 270.303,
    "s": 41.079,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.15539,
    "h": 304.7
  },
  "luminance": 0.11474
}

Semantic roles & 50–950 ramp

primary
#7947AA
secondary
#A6C08D
accent
#D15793
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7947AA

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

Preview Lab → · Contrast checker → · Palette generator →

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