#7947D2#7947D2

#7947D2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.203 H 295.1°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#7947D2
RGBrgb(121, 71, 210)
HSLhsl(262, 61%, 55%)
HSVhsv(262, 66%, 82%)
CMYKcmyk(42.4%, 66.2%, 0%, 17.6%)
CIE-LABlab(43.10, 51.18, -64.20)
CIE-LCHlch(43.10, 82.10, 308.56°)
OKLaboklab(53.18% 0.086 -0.1834)
OKLCHoklch(53.18% 0.203 295.1)
XYZxyz(21.7682, 13.2240, 62.3659)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7947D2 #A0D247
analogous
#475AD2 #7947D2 #BF47D2
triadic
#7947D2 #D27947 #47D279
tetradic
#7947D2 #D2475A #A0D247 #47D2BF
square
#7947D2 #D2475A #A0D247 #47D2BF
split-complementary
#7947D2 #D2BF47 #5AD247
monochromatic
#421F7F #5B2BB1 #7947D2 #9D78DE #C1A9EA

Accessibility & contrast

On white

5.76
#7947D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#7947D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7947D2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7947D2#FFFFFF#000000##FFFFFF
##7947D21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#616886
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7947d2;
/* rgb */ color: rgb(121, 71, 210);
/* oklch */ color: oklch(53.2% 0.203 295.1);
Tailwind
colors: {
  custom: {
    50: '#a67de1',
    500: '#7947d2',
    950: '#000000',
  },
}
SCSS
$custom: #7947d2;
$custom-light: #a67de1;
$custom-dark: #000000;
JSON
{
  "hex": "#7947d2",
  "rgb": {
    "r": 121,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 261.583,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.20259,
    "h": 295.1
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#7947D2
secondary
#C3D89D
accent
#E444AA
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7947D2

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

Preview Lab → · Contrast checker → · Palette generator →

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