#7947CF#7947CF

#7947CF is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.9% C 0.199 H 295.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#7947CF
RGBrgb(121, 71, 207)
HSLhsl(262, 59%, 55%)
HSVhsv(262, 66%, 81%)
CMYKcmyk(41.5%, 65.7%, 0%, 18.8%)
CIE-LABlab(42.88, 50.39, -62.83)
CIE-LCHlch(42.88, 80.54, 308.73°)
OKLaboklab(52.95% 0.0864 -0.1794)
OKLCHoklch(52.95% 0.199 295.7)
XYZxyz(21.3979, 13.0760, 60.4159)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947CF #9DCF47
analogous
#4759CF #7947CF #BD47CF
triadic
#7947CF #CF7947 #47CF79
tetradic
#7947CF #CF4759 #9DCF47 #47CFBD
square
#7947CF #CF4759 #9DCF47 #47CFBD
split-complementary
#7947CF #CFBD47 #59CF47
monochromatic
#42207B #5C2DAC #7947CF #9C78DC #C0A8E8

Accessibility & contrast

On white

5.81
#7947CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7947CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947CF
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947CF#FFFFFF#000000##FFFFFF
##7947CF1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#636785
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7947cf;
/* rgb */ color: rgb(121, 71, 207);
/* oklch */ color: oklch(52.9% 0.199 295.7);
Tailwind
colors: {
  custom: {
    50: '#a67ddf',
    500: '#7947cf',
    950: '#000000',
  },
}
SCSS
$custom: #7947cf;
$custom-light: #a67ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#7947cf",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 262.059,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.19912,
    "h": 295.7
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#7947CF
secondary
#C1D69C
accent
#E246A9
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947CF

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

Preview Lab → · Contrast checker → · Palette generator →

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