#7941C2#7941C2

#7941C2 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.192 H 299.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7941C2
RGBrgb(121, 65, 194)
HSLhsl(266, 51%, 51%)
HSVhsv(266, 66%, 76%)
CMYKcmyk(37.6%, 66.5%, 0%, 23.9%)
CIE-LABlab(40.80, 50.12, -58.67)
CIE-LCHlch(40.80, 77.16, 310.51°)
OKLaboklab(51.16% 0.0944 -0.1671)
OKLCHoklch(51.16% 0.192 299.4)
XYZxyz(19.5106, 11.7404, 52.2667)
Luminance0.1174 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C2 #8AC241
analogous
#4149C2 #7941C2 #BA41C2
triadic
#7941C2 #C27941 #41C279
tetradic
#7941C2 #C24149 #8AC241 #41C2BA
square
#7941C2 #C24149 #8AC241 #41C2BA
split-complementary
#7941C2 #C2BA41 #49C241
monochromatic
#402167 #5C3096 #7941C2 #9A6FD1 #BA9EE0

Accessibility & contrast

On white

6.27
#7941C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7941C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C2
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C2#FFFFFF#000000##FFFFFF
##7941C21.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#005FBF
Tritanopia (blue-blind)
#685F7C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7941c2;
/* rgb */ color: rgb(121, 65, 194);
/* oklch */ color: oklch(51.2% 0.192 299.4);
Tailwind
colors: {
  custom: {
    50: '#a579d5',
    500: '#7941c2',
    950: '#000000',
  },
}
SCSS
$custom: #7941c2;
$custom-light: #a579d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c2",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 194
  },
  "hsl": {
    "h": 266.047,
    "s": 51.394,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51157,
    "c": 0.19191,
    "h": 299.4
  },
  "luminance": 0.11741
}

Semantic roles & 50–950 ramp

primary
#7941C2
secondary
#B3CC93
accent
#DB4D9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941C2

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

Preview Lab → · Contrast checker → · Palette generator →

#7941C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva