#7941C1#7941C1

#7941C1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.1% C 0.191 H 299.7°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7941C1
RGBrgb(121, 65, 193)
HSLhsl(266, 51%, 51%)
HSVhsv(266, 66%, 76%)
CMYKcmyk(37.3%, 66.3%, 0%, 24.3%)
CIE-LABlab(40.73, 49.87, -58.20)
CIE-LCHlch(40.73, 76.64, 310.59°)
OKLaboklab(51.08% 0.0945 -0.1657)
OKLCHoklch(51.08% 0.191 299.7)
XYZxyz(19.3987, 11.6956, 51.6772)
Luminance0.1170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C1 #89C141
analogous
#4149C1 #7941C1 #B941C1
triadic
#7941C1 #C17941 #41C179
tetradic
#7941C1 #C14149 #89C141 #41C1B9
square
#7941C1 #C14149 #89C141 #41C1B9
split-complementary
#7941C1 #C1B941 #49C141
monochromatic
#3F2166 #5C3094 #7941C1 #9A6FD0 #BA9DDF

Accessibility & contrast

On white

6.29
#7941C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7941C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C1
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C1#FFFFFF#000000##FFFFFF
##7941C11.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C5
Deuteranopia (green-blind)
#005FBE
Tritanopia (blue-blind)
#695E7B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7941c1;
/* rgb */ color: rgb(121, 65, 193);
/* oklch */ color: oklch(51.1% 0.191 299.7);
Tailwind
colors: {
  custom: {
    50: '#a579d5',
    500: '#7941c1',
    950: '#000000',
  },
}
SCSS
$custom: #7941c1;
$custom-light: #a579d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c1",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 193
  },
  "hsl": {
    "h": 266.25,
    "s": 50.794,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51082,
    "c": 0.19078,
    "h": 299.7
  },
  "luminance": 0.11696
}

Semantic roles & 50–950 ramp

primary
#7941C1
secondary
#B2CB92
accent
#DA4E9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941C1

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

Preview Lab → · Contrast checker → · Palette generator →

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