#7947D8#7947D8

#7947D8 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.6% C 0.209 H 294.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#7947D8
RGBrgb(121, 71, 216)
HSLhsl(261, 65%, 56%)
HSVhsv(261, 67%, 85%)
CMYKcmyk(44%, 67.1%, 0%, 15.3%)
CIE-LABlab(43.55, 52.76, -66.91)
CIE-LCHlch(43.55, 85.21, 308.26°)
OKLaboklab(53.64% 0.0852 -0.1914)
OKLCHoklch(53.64% 0.21 294)
XYZxyz(22.5297, 13.5287, 66.3767)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947D8 #A6D847
analogous
#475ED8 #7947D8 #C247D8
triadic
#7947D8 #D87947 #47D879
tetradic
#7947D8 #D8475E #A6D847 #47D8C2
square
#7947D8 #D8475E #A6D847 #47D8C2
split-complementary
#7947D8 #D8C247 #5ED847
monochromatic
#421D88 #5A27BA #7947D8 #9E79E3 #C3ACED

Accessibility & contrast

On white

5.67
#7947D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#7947D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947D8
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947D8#FFFFFF#000000##FFFFFF
##7947D81.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#5E6A8A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7947d8;
/* rgb */ color: rgb(121, 71, 216);
/* oklch */ color: oklch(53.6% 0.209 294.0);
Tailwind
colors: {
  custom: {
    50: '#a77ee5',
    500: '#7947d8',
    950: '#000000',
  },
}
SCSS
$custom: #7947d8;
$custom-light: #a77ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7947d8",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 260.69,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.53642,
    "c": 0.2095,
    "h": 294
  },
  "luminance": 0.13529
}

Semantic roles & 50–950 ramp

primary
#7947D8
secondary
#C7DBA0
accent
#E840AE
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7947D8

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

Preview Lab → · Contrast checker → · Palette generator →

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