#7941C7#7941C7

#7941C7 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.198 H 298.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7941C7
RGBrgb(121, 65, 199)
HSLhsl(265, 54%, 52%)
HSVhsv(265, 67%, 78%)
CMYKcmyk(39.2%, 67.3%, 0%, 22%)
CIE-LABlab(41.17, 51.39, -60.98)
CIE-LCHlch(41.17, 79.75, 310.12°)
OKLaboklab(51.54% 0.0937 -0.1739)
OKLCHoklch(51.54% 0.198 298.3)
XYZxyz(20.0816, 11.9688, 55.2740)
Luminance0.1197 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941C7 #8FC741
analogous
#414CC7 #7941C7 #BC41C7
triadic
#7941C7 #C77941 #41C779
tetradic
#7941C7 #C7414C #8FC741 #41C7BC
square
#7941C7 #C7414C #8FC741 #41C7BC
split-complementary
#7941C7 #C7BC41 #4CC741
monochromatic
#40206D #5C2E9D #7941C7 #9A70D5 #BCA0E3

Accessibility & contrast

On white

6.19
#7941C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7941C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941C7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941C7#FFFFFF#000000##FFFFFF
##7941C71.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#66617F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7941c7;
/* rgb */ color: rgb(121, 65, 199);
/* oklch */ color: oklch(51.5% 0.198 298.3);
Tailwind
colors: {
  custom: {
    50: '#a679d9',
    500: '#7941c7',
    950: '#000000',
  },
}
SCSS
$custom: #7941c7;
$custom-light: #a679d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7941c7",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 199
  },
  "hsl": {
    "h": 265.075,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51535,
    "c": 0.19758,
    "h": 298.3
  },
  "luminance": 0.11969
}

Semantic roles & 50–950 ramp

primary
#7941C7
secondary
#B7CF95
accent
#DE4AA0
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7941C7

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

Preview Lab → · Contrast checker → · Palette generator →

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