#7947DD#7947DD

#7947DD is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.0% C 0.215 H 293.1°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7947DD
RGBrgb(121, 71, 221)
HSLhsl(260, 69%, 57%)
HSVhsv(260, 68%, 87%)
CMYKcmyk(45.2%, 67.9%, 0%, 13.3%)
CIE-LABlab(43.93, 54.09, -69.15)
CIE-LCHlch(43.93, 87.79, 308.03°)
OKLaboklab(54.04% 0.0844 -0.1979)
OKLCHoklch(54.04% 0.215 293.1)
XYZxyz(23.1859, 13.7912, 69.8329)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947DD #ABDD47
analogous
#4760DD #7947DD #C447DD
triadic
#7947DD #DD7947 #47DD79
tetradic
#7947DD #DD4760 #ABDD47 #47DDC4
square
#7947DD #DD4760 #ABDD47 #47DDC4
split-complementary
#7947DD #DDC447 #60DD47
monochromatic
#411A8F #5924C3 #7947DD #9F7BE7 #C4AEF0

Accessibility & contrast

On white

5.59
#7947DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7947DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947DD
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947DD#FFFFFF#000000##FFFFFF
##7947DD1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE2
Deuteranopia (green-blind)
#0065DA
Tritanopia (blue-blind)
#5C6C8C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7947dd;
/* rgb */ color: rgb(121, 71, 221);
/* oklch */ color: oklch(54.0% 0.215 293.1);
Tailwind
colors: {
  custom: {
    50: '#a87ee9',
    500: '#7947dd',
    950: '#000000',
  },
}
SCSS
$custom: #7947dd;
$custom-light: #a87ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#7947dd",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 260,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.54036,
    "c": 0.21521,
    "h": 293.1
  },
  "luminance": 0.13792
}

Semantic roles & 50–950 ramp

primary
#7947DD
secondary
#CADEA2
accent
#EC3CB1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7947DD

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

Preview Lab → · Contrast checker → · Palette generator →

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