#7947D6#7947D6

#7947D6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.5% C 0.207 H 294.4°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#7947D6
RGBrgb(121, 71, 214)
HSLhsl(261, 64%, 56%)
HSVhsv(261, 67%, 84%)
CMYKcmyk(43.5%, 66.8%, 0%, 16.1%)
CIE-LABlab(43.40, 52.23, -66.01)
CIE-LCHlch(43.40, 84.18, 308.35°)
OKLaboklab(53.49% 0.0855 -0.1887)
OKLCHoklch(53.49% 0.207 294.4)
XYZxyz(22.2727, 13.4259, 65.0232)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947D6 #A4D647
analogous
#475CD6 #7947D6 #C047D6
triadic
#7947D6 #D67947 #47D679
tetradic
#7947D6 #D6475C #A4D647 #47D6C0
square
#7947D6 #D6475C #A4D647 #47D6C0
split-complementary
#7947D6 #D6C047 #5CD647
monochromatic
#421E85 #5B29B7 #7947D6 #9D79E1 #C2ABEC

Accessibility & contrast

On white

5.70
#7947D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#7947D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947D6
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947D6#FFFFFF#000000##FFFFFF
##7947D61.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DA
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#5F6A89
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7947d6;
/* rgb */ color: rgb(121, 71, 214);
/* oklch */ color: oklch(53.5% 0.207 294.4);
Tailwind
colors: {
  custom: {
    50: '#a77de4',
    500: '#7947d6',
    950: '#000000',
  },
}
SCSS
$custom: #7947d6;
$custom-light: #a77de4;
$custom-dark: #000000;
JSON
{
  "hex": "#7947d6",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 214
  },
  "hsl": {
    "h": 260.979,
    "s": 63.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.53486,
    "c": 0.20719,
    "h": 294.4
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#7947D6
secondary
#C5DA9F
accent
#E741AD
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7947D6

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

Preview Lab → · Contrast checker → · Palette generator →

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