#7941BE#7941BE

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

Color values

HEX#7941BE
RGBrgb(121, 65, 190)
HSLhsl(267, 49%, 50%)
HSVhsv(267, 66%, 75%)
CMYKcmyk(36.3%, 65.8%, 0%, 25.5%)
CIE-LABlab(40.51, 49.11, -56.79)
CIE-LCHlch(40.51, 75.08, 310.85°)
OKLaboklab(50.86% 0.0948 -0.1616)
OKLCHoklch(50.86% 0.187 300.4)
XYZxyz(19.0675, 11.5631, 49.9326)
Luminance0.1156 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941BE #86BE41
analogous
#4147BE #7941BE #B841BE
triadic
#7941BE #BE7941 #41BE79
tetradic
#7941BE #BE4147 #86BE41 #41BEB8
square
#7941BE #BE4147 #86BE41 #41BEB8
split-complementary
#7941BE #BEB841 #47BE41
monochromatic
#3F2263 #5C3190 #7941BE #996FCE #B99CDD

Accessibility & contrast

On white

6.34
#7941BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#7941BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941BE
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941BE#FFFFFF#000000##FFFFFF
##7941BE1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#6A5D7A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941be;
/* rgb */ color: rgb(121, 65, 190);
/* oklch */ color: oklch(50.9% 0.187 300.4);
Tailwind
colors: {
  custom: {
    50: '#a579d2',
    500: '#7941be',
    950: '#000000',
  },
}
SCSS
$custom: #7941be;
$custom-light: #a579d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7941be",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 190
  },
  "hsl": {
    "h": 266.88,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.50859,
    "c": 0.18737,
    "h": 300.4
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7941BE

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

Preview Lab → · Contrast checker → · Palette generator →

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