#7947CD#7947CD

#7947CD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.8% C 0.197 H 296.1°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7947CD
RGBrgb(121, 71, 205)
HSLhsl(262, 57%, 54%)
HSVhsv(262, 65%, 80%)
CMYKcmyk(41%, 65.4%, 0%, 19.6%)
CIE-LABlab(42.73, 49.86, -61.92)
CIE-LCHlch(42.73, 79.50, 308.84°)
OKLaboklab(52.8% 0.0866 -0.1767)
OKLCHoklch(52.8% 0.197 296.1)
XYZxyz(21.1550, 12.9788, 59.1363)
Luminance0.1298 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947CD #9BCD47
analogous
#4758CD #7947CD #BC47CD
triadic
#7947CD #CD7947 #47CD79
tetradic
#7947CD #CD4758 #9BCD47 #47CDBC
square
#7947CD #CD4758 #9BCD47 #47CDBC
split-complementary
#7947CD #CDBC47 #58CD47
monochromatic
#422179 #5C2EA9 #7947CD #9C77DA #BFA7E7

Accessibility & contrast

On white

5.84
#7947CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#7947CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947CD
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947CD#FFFFFF#000000##FFFFFF
##7947CD1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#636684
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7947cd;
/* rgb */ color: rgb(121, 71, 205);
/* oklch */ color: oklch(52.8% 0.197 296.1);
Tailwind
colors: {
  custom: {
    50: '#a67ddd',
    500: '#7947cd',
    950: '#000000',
  },
}
SCSS
$custom: #7947cd;
$custom-light: #a67ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#7947cd",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 262.388,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.19679,
    "h": 296.1
  },
  "luminance": 0.12979
}

Semantic roles & 50–950 ramp

primary
#7947CD
secondary
#BFD49B
accent
#E147A7
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947CD

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

Preview Lab → · Contrast checker → · Palette generator →

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