#7947CE#7947CE

#7947CE is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.198 H 295.9°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#7947CE
RGBrgb(121, 71, 206)
HSLhsl(262, 58%, 54%)
HSVhsv(262, 66%, 81%)
CMYKcmyk(41.3%, 65.5%, 0%, 19.2%)
CIE-LABlab(42.80, 50.12, -62.38)
CIE-LCHlch(42.80, 80.02, 308.78°)
OKLaboklab(52.87% 0.0865 -0.1781)
OKLCHoklch(52.87% 0.198 295.9)
XYZxyz(21.2760, 13.0272, 59.7741)
Luminance0.1303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947CE #9CCE47
analogous
#4759CE #7947CE #BC47CE
triadic
#7947CE #CE7947 #47CE79
tetradic
#7947CE #CE4759 #9CCE47 #47CEBC
square
#7947CE #CE4759 #9CCE47 #47CEBC
split-complementary
#7947CE #CEBC47 #59CE47
monochromatic
#42217A #5C2DAA #7947CE #9C77DB #BFA8E8

Accessibility & contrast

On white

5.82
#7947CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#7947CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947CE#FFFFFF#000000##FFFFFF
##7947CE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#636784
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7947ce;
/* rgb */ color: rgb(121, 71, 206);
/* oklch */ color: oklch(52.9% 0.198 295.9);
Tailwind
colors: {
  custom: {
    50: '#a67dde',
    500: '#7947ce',
    950: '#000000',
  },
}
SCSS
$custom: #7947ce;
$custom-light: #a67dde;
$custom-dark: #000000;
JSON
{
  "hex": "#7947ce",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 262.222,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.19795,
    "h": 295.9
  },
  "luminance": 0.13028
}

Semantic roles & 50–950 ramp

primary
#7947CE
secondary
#C0D59C
accent
#E147A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947CE

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

Preview Lab → · Contrast checker → · Palette generator →

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