#7941BF#7941BF

#7941BF is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.9% C 0.189 H 300.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7941BF
RGBrgb(121, 65, 191)
HSLhsl(267, 50%, 50%)
HSVhsv(267, 66%, 75%)
CMYKcmyk(36.6%, 66%, 0%, 25.1%)
CIE-LABlab(40.58, 49.36, -57.26)
CIE-LCHlch(40.58, 75.60, 310.76°)
OKLaboklab(50.93% 0.0947 -0.163)
OKLCHoklch(50.93% 0.189 300.2)
XYZxyz(19.1771, 11.6070, 50.5101)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BF #87BF41
analogous
#4148BF #7941BF #B841BF
triadic
#7941BF #BF7941 #41BF79
tetradic
#7941BF #BF4148 #87BF41 #41BFB8
square
#7941BF #BF4148 #87BF41 #41BFB8
split-complementary
#7941BF #BFB841 #48BF41
monochromatic
#3F2264 #5C3192 #7941BF #996FCE #BA9DDE

Accessibility & contrast

On white

6.32
#7941BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7941BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BF#FFFFFF#000000##FFFFFF
##7941BF1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#6A5E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7941bf;
/* rgb */ color: rgb(121, 65, 191);
/* oklch */ color: oklch(50.9% 0.189 300.2);
Tailwind
colors: {
  custom: {
    50: '#a579d3',
    500: '#7941bf',
    950: '#000000',
  },
}
SCSS
$custom: #7941bf;
$custom-light: #a579d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7941bf",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 191
  },
  "hsl": {
    "h": 266.667,
    "s": 49.606,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50933,
    "c": 0.18851,
    "h": 300.2
  },
  "luminance": 0.11607
}

Semantic roles & 50–950 ramp

primary
#7941BF
secondary
#B1CA92
accent
#D94F9C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941BF

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

Preview Lab → · Contrast checker → · Palette generator →

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