#7947C8#7947C8

#7947C8 is a mid, vivid violet. Relative luminance 0.127; OKLCH L 52.4% C 0.191 H 297.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7947C8
RGBrgb(121, 71, 200)
HSLhsl(263, 54%, 53%)
HSVhsv(263, 65%, 78%)
CMYKcmyk(39.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(42.37, 48.55, -59.61)
CIE-LCHlch(42.37, 76.88, 309.16°)
OKLaboklab(52.42% 0.0872 -0.1699)
OKLCHoklch(52.42% 0.191 297.2)
XYZxyz(20.5610, 12.7412, 56.0084)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947C8 #96C847
analogous
#4755C8 #7947C8 #BA47C8
triadic
#7947C8 #C87947 #47C879
tetradic
#7947C8 #C84755 #96C847 #47C8BA
square
#7947C8 #C84755 #96C847 #47C8BA
split-complementary
#7947C8 #C8BA47 #55C847
monochromatic
#412272 #5C30A2 #7947C8 #9B76D6 #BEA5E4

Accessibility & contrast

On white

5.92
#7947C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7947C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7947C8#FFFFFF#000000##FFFFFF
##7947C81.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#666581
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7947c8;
/* rgb */ color: rgb(121, 71, 200);
/* oklch */ color: oklch(52.4% 0.191 297.2);
Tailwind
colors: {
  custom: {
    50: '#a57dda',
    500: '#7947c8',
    950: '#000000',
  },
}
SCSS
$custom: #7947c8;
$custom-light: #a57dda;
$custom-dark: #000000;
JSON
{
  "hex": "#7947c8",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 263.256,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52424,
    "c": 0.19097,
    "h": 297.2
  },
  "luminance": 0.12742
}

Semantic roles & 50–950 ramp

primary
#7947C8
secondary
#BCD19A
accent
#DD4AA4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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