#7947C6#7947C6

#7947C6 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.3% C 0.189 H 297.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#7947C6
RGBrgb(121, 71, 198)
HSLhsl(264, 53%, 53%)
HSVhsv(264, 64%, 78%)
CMYKcmyk(38.9%, 64.1%, 0%, 22.4%)
CIE-LABlab(42.23, 48.03, -58.68)
CIE-LCHlch(42.23, 75.83, 309.30°)
OKLaboklab(52.28% 0.0873 -0.1672)
OKLCHoklch(52.28% 0.189 297.6)
XYZxyz(20.3288, 12.6483, 54.7855)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947C6 #94C647
analogous
#4754C6 #7947C6 #B847C6
triadic
#7947C6 #C67947 #47C679
tetradic
#7947C6 #C64754 #94C647 #47C6B8
square
#7947C6 #C64754 #94C647 #47C6B8
split-complementary
#7947C6 #C6B847 #54C647
monochromatic
#412370 #5C319F #7947C6 #9B76D4 #BDA4E3

Accessibility & contrast

On white

5.95
#7947C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#7947C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947C6#FFFFFF#000000##FFFFFF
##7947C61.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#0062C3
Tritanopia (blue-blind)
#676480
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7947c6;
/* rgb */ color: rgb(121, 71, 198);
/* oklch */ color: oklch(52.3% 0.189 297.6);
Tailwind
colors: {
  custom: {
    50: '#a57dd8',
    500: '#7947c6',
    950: '#000000',
  },
}
SCSS
$custom: #7947c6;
$custom-light: #a57dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7947c6",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 198
  },
  "hsl": {
    "h": 263.622,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52276,
    "c": 0.18862,
    "h": 297.6
  },
  "luminance": 0.12649
}

Semantic roles & 50–950 ramp

primary
#7947C6
secondary
#BAD099
accent
#DC4CA3
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947C6

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

Preview Lab → · Contrast checker → · Palette generator →

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