#7941C3#7941C3

#7941C3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.193 H 299.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7941C3
RGBrgb(121, 65, 195)
HSLhsl(266, 52%, 51%)
HSVhsv(266, 67%, 76%)
CMYKcmyk(37.9%, 66.7%, 0%, 23.5%)
CIE-LABlab(40.87, 50.37, -59.13)
CIE-LCHlch(40.87, 77.68, 310.43°)
OKLaboklab(51.23% 0.0942 -0.1685)
OKLCHoklch(51.23% 0.193 299.2)
XYZxyz(19.6233, 11.7854, 52.8601)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C3 #8BC341
analogous
#414AC3 #7941C3 #BA41C3
triadic
#7941C3 #C37941 #41C379
tetradic
#7941C3 #C3414A #8BC341 #41C3BA
square
#7941C3 #C3414A #8BC341 #41C3BA
split-complementary
#7941C3 #C3BA41 #4AC341
monochromatic
#402169 #5C3097 #7941C3 #9A70D2 #BB9EE0

Accessibility & contrast

On white

6.26
#7941C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7941C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C3
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C3#FFFFFF#000000##FFFFFF
##7941C31.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7941c3;
/* rgb */ color: rgb(121, 65, 195);
/* oklch */ color: oklch(51.2% 0.193 299.2);
Tailwind
colors: {
  custom: {
    50: '#a579d6',
    500: '#7941c3',
    950: '#000000',
  },
}
SCSS
$custom: #7941c3;
$custom-light: #a579d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c3",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 195
  },
  "hsl": {
    "h": 265.846,
    "s": 52,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51232,
    "c": 0.19305,
    "h": 299.2
  },
  "luminance": 0.11786
}

Semantic roles & 50–950 ramp

primary
#7941C3
secondary
#B4CD93
accent
#DB4C9E
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941C3

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

Preview Lab → · Contrast checker → · Palette generator →

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