#7947C9#7947C9

#7947C9 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.5% C 0.192 H 296.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#7947C9
RGBrgb(121, 71, 201)
HSLhsl(263, 55%, 53%)
HSVhsv(263, 65%, 79%)
CMYKcmyk(39.8%, 64.7%, 0%, 21.2%)
CIE-LABlab(42.44, 48.81, -60.07)
CIE-LCHlch(42.44, 77.41, 309.10°)
OKLaboklab(52.5% 0.0871 -0.1713)
OKLCHoklch(52.5% 0.192 296.9)
XYZxyz(20.6783, 12.7881, 56.6259)
Luminance0.1279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947C9 #97C947
analogous
#4756C9 #7947C9 #BA47C9
triadic
#7947C9 #C97947 #47C979
tetradic
#7947C9 #C94756 #97C947 #47C9BA
square
#7947C9 #C94756 #97C947 #47C9BA
split-complementary
#7947C9 #C9BA47 #56C947
monochromatic
#412274 #5C30A3 #7947C9 #9B76D7 #BEA6E5

Accessibility & contrast

On white

5.90
#7947C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#7947C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947C9#FFFFFF#000000##FFFFFF
##7947C91.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065CD
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#656582
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7947c9;
/* rgb */ color: rgb(121, 71, 201);
/* oklch */ color: oklch(52.5% 0.192 296.9);
Tailwind
colors: {
  custom: {
    50: '#a57dda',
    500: '#7947c9',
    950: '#000000',
  },
}
SCSS
$custom: #7947c9;
$custom-light: #a57dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7947c9",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 201
  },
  "hsl": {
    "h": 263.077,
    "s": 54.622,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.19213,
    "h": 296.9
  },
  "luminance": 0.12788
}

Semantic roles & 50–950 ramp

primary
#7947C9
secondary
#BCD29A
accent
#DE4AA5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947C9

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

Preview Lab → · Contrast checker → · Palette generator →

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