#7941C4#7941C4

#7941C4 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.3% C 0.194 H 299.0°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#7941C4
RGBrgb(121, 65, 196)
HSLhsl(266, 53%, 51%)
HSVhsv(266, 67%, 77%)
CMYKcmyk(38.3%, 66.8%, 0%, 23.1%)
CIE-LABlab(40.95, 50.63, -59.60)
CIE-LCHlch(40.95, 78.20, 310.35°)
OKLaboklab(51.31% 0.0941 -0.1699)
OKLCHoklch(51.31% 0.194 299)
XYZxyz(19.7368, 11.8308, 53.4576)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C4 #8CC441
analogous
#414AC4 #7941C4 #BA41C4
triadic
#7941C4 #C47941 #41C479
tetradic
#7941C4 #C4414A #8CC441 #41C4BA
square
#7941C4 #C4414A #8CC441 #41C4BA
split-complementary
#7941C4 #C4BA41 #4AC441
monochromatic
#40216A #5C2F98 #7941C4 #9A70D3 #BB9EE1

Accessibility & contrast

On white

6.24
#7941C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7941C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C4
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C4#FFFFFF#000000##FFFFFF
##7941C41.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#005FC1
Tritanopia (blue-blind)
#685F7D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7941c4;
/* rgb */ color: rgb(121, 65, 196);
/* oklch */ color: oklch(51.3% 0.194 299.0);
Tailwind
colors: {
  custom: {
    50: '#a579d7',
    500: '#7941c4',
    950: '#000000',
  },
}
SCSS
$custom: #7941c4;
$custom-light: #a579d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c4",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 196
  },
  "hsl": {
    "h": 265.649,
    "s": 52.61,
    "l": 51.176
  },
  "oklch": {
    "l": 0.51307,
    "c": 0.19418,
    "h": 299
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#7941C4
secondary
#B5CD93
accent
#DC4C9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941C4

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

Preview Lab → · Contrast checker → · Palette generator →

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