#7947AF#7947AF

#7947AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.161 H 303.3°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7947AF
RGBrgb(121, 71, 175)
HSLhsl(269, 42%, 48%)
HSVhsv(269, 59%, 69%)
CMYKcmyk(30.9%, 59.4%, 0%, 31.4%)
CIE-LABlab(40.68, 42.15, -47.70)
CIE-LCHlch(40.68, 63.65, 311.46°)
OKLaboklab(50.66% 0.0885 -0.1349)
OKLCHoklch(50.66% 0.161 303.3)
XYZxyz(17.8745, 11.6666, 41.8593)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947AF #7DAF47
analogous
#4749AF #7947AF #AD47AF
triadic
#7947AF #AF7947 #47AF79
tetradic
#7947AF #AF4749 #7DAF47 #47AFAD
square
#7947AF #AF4749 #7DAF47 #47AFAD
split-complementary
#7947AF #AFAD47 #49AF47
monochromatic
#3D2458 #5B3583 #7947AF #986FC4 #B79AD6

Accessibility & contrast

On white

6.30
#7947AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7947AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947AF#FFFFFF#000000##FFFFFF
##7947AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155FB2
Deuteranopia (green-blind)
#2D60AD
Tritanopia (blue-blind)
#6F5C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7947af;
/* rgb */ color: rgb(121, 71, 175);
/* oklch */ color: oklch(50.7% 0.161 303.3);
Tailwind
colors: {
  custom: {
    50: '#a37cc7',
    500: '#7947af',
    950: '#000000',
  },
}
SCSS
$custom: #7947af;
$custom-light: #a37cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#7947af",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 268.846,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50659,
    "c": 0.16138,
    "h": 303.3
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#7947AF
secondary
#AAC28F
accent
#D25696
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #7947AF

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

Preview Lab → · Contrast checker → · Palette generator →

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