#7941BB#7941BB

#7941BB is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.6% C 0.184 H 301.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7941BB
RGBrgb(121, 65, 187)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 65%, 73%)
CMYKcmyk(35.3%, 65.2%, 0%, 26.7%)
CIE-LABlab(40.30, 48.35, -55.38)
CIE-LCHlch(40.30, 73.52, 311.12°)
OKLaboklab(50.64% 0.0951 -0.1575)
OKLCHoklch(50.64% 0.184 301.1)
XYZxyz(18.7429, 11.4333, 48.2235)
Luminance0.1143 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BB #83BB41
analogous
#4146BB #7941BB #B641BB
triadic
#7941BB #BB7941 #41BB79
tetradic
#7941BB #BB4146 #83BB41 #41BBB6
square
#7941BB #BB4146 #83BB41 #41BBB6
split-complementary
#7941BB #BBB641 #46BB41
monochromatic
#3E2160 #5C318E #7941BB #996DCC #B99ADC

Accessibility & contrast

On white

6.39
#7941BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7941BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941BB
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BB#FFFFFF#000000##FFFFFF
##7941BB1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBF
Deuteranopia (green-blind)
#085EB8
Tritanopia (blue-blind)
#6B5C78
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941bb;
/* rgb */ color: rgb(121, 65, 187);
/* oklch */ color: oklch(50.6% 0.184 301.1);
Tailwind
colors: {
  custom: {
    50: '#a479d0',
    500: '#7941bb',
    950: '#000000',
  },
}
SCSS
$custom: #7941bb;
$custom-light: #a479d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7941bb",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 187
  },
  "hsl": {
    "h": 267.541,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.50639,
    "c": 0.18396,
    "h": 301.1
  },
  "luminance": 0.11433
}

Semantic roles & 50–950 ramp

primary
#7941BB
secondary
#AEC890
accent
#D85099
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7941BB

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

Preview Lab → · Contrast checker → · Palette generator →

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