#7941BC#7941BC

#7941BC is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.7% C 0.185 H 300.9°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7941BC
RGBrgb(121, 65, 188)
HSLhsl(267, 49%, 50%)
HSVhsv(267, 65%, 74%)
CMYKcmyk(35.6%, 65.4%, 0%, 26.3%)
CIE-LABlab(40.37, 48.60, -55.85)
CIE-LCHlch(40.37, 74.04, 311.03°)
OKLaboklab(50.71% 0.095 -0.1588)
OKLCHoklch(50.71% 0.185 300.9)
XYZxyz(18.8504, 11.4763, 48.7892)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BC #84BC41
analogous
#4146BC #7941BC #B741BC
triadic
#7941BC #BC7941 #41BC79
tetradic
#7941BC #BC4146 #84BC41 #41BCB7
square
#7941BC #BC4146 #84BC41 #41BCB7
split-complementary
#7941BC #BCB741 #46BC41
monochromatic
#3E2261 #5C318F #7941BC #996ECD #B99BDC

Accessibility & contrast

On white

6.37
#7941BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#7941BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941BC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BC#FFFFFF#000000##FFFFFF
##7941BC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC0
Deuteranopia (green-blind)
#045EB9
Tritanopia (blue-blind)
#6B5D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941bc;
/* rgb */ color: rgb(121, 65, 188);
/* oklch */ color: oklch(50.7% 0.185 300.9);
Tailwind
colors: {
  custom: {
    50: '#a579d1',
    500: '#7941bc',
    950: '#000000',
  },
}
SCSS
$custom: #7941bc;
$custom-light: #a579d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7941bc",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 188
  },
  "hsl": {
    "h": 267.317,
    "s": 48.617,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50712,
    "c": 0.1851,
    "h": 300.9
  },
  "luminance": 0.11476
}

Semantic roles & 50–950 ramp

primary
#7941BC
secondary
#AFC990
accent
#D8509A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7941BC

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

Preview Lab → · Contrast checker → · Palette generator →

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