#7941BD#7941BD

#7941BD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.8% C 0.186 H 300.6°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#7941BD
RGBrgb(121, 65, 189)
HSLhsl(267, 49%, 50%)
HSVhsv(267, 66%, 74%)
CMYKcmyk(36%, 65.6%, 0%, 25.9%)
CIE-LABlab(40.44, 48.86, -56.32)
CIE-LCHlch(40.44, 74.56, 310.94°)
OKLaboklab(50.79% 0.0949 -0.1602)
OKLCHoklch(50.79% 0.186 300.6)
XYZxyz(18.9585, 11.5195, 49.3589)
Luminance0.1152 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BD #85BD41
analogous
#4147BD #7941BD #B741BD
triadic
#7941BD #BD7941 #41BD79
tetradic
#7941BD #BD4147 #85BD41 #41BDB7
square
#7941BD #BD4147 #85BD41 #41BDB7
split-complementary
#7941BD #BDB741 #47BD41
monochromatic
#3F2262 #5C318F #7941BD #996ECD #B99CDD

Accessibility & contrast

On white

6.36
#7941BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7941BD
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BD#FFFFFF#000000##FFFFFF
##7941BD1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC1
Deuteranopia (green-blind)
#005FBA
Tritanopia (blue-blind)
#6A5D79
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941bd;
/* rgb */ color: rgb(121, 65, 189);
/* oklch */ color: oklch(50.8% 0.186 300.6);
Tailwind
colors: {
  custom: {
    50: '#a579d2',
    500: '#7941bd',
    950: '#000000',
  },
}
SCSS
$custom: #7941bd;
$custom-light: #a579d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7941bd",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 189
  },
  "hsl": {
    "h": 267.097,
    "s": 48.819,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50786,
    "c": 0.18624,
    "h": 300.6
  },
  "luminance": 0.1152
}

Semantic roles & 50–950 ramp

primary
#7941BD
secondary
#B0C991
accent
#D84F9B
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7941BD

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

Preview Lab → · Contrast checker → · Palette generator →

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