#7941B5#7941B5

#7941B5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.177 H 302.7°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7941B5
RGBrgb(121, 65, 181)
HSLhsl(269, 47%, 48%)
HSVhsv(269, 64%, 71%)
CMYKcmyk(33.1%, 64.1%, 0%, 29%)
CIE-LABlab(39.88, 46.85, -52.52)
CIE-LCHlch(39.88, 70.39, 311.73°)
OKLaboklab(50.21% 0.0956 -0.1491)
OKLCHoklch(50.21% 0.177 302.7)
XYZxyz(18.1140, 11.1817, 44.9111)
Luminance0.1118 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B5 #7DB541
analogous
#4143B5 #7941B5 #B341B5
triadic
#7941B5 #B57941 #41B579
tetradic
#7941B5 #B54143 #7DB541 #41B5B3
square
#7941B5 #B54143 #7DB541 #41B5B3
split-complementary
#7941B5 #B5B341 #43B541
monochromatic
#3D215B #5B3188 #7941B5 #986AC9 #B797DA

Accessibility & contrast

On white

6.49
#7941B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7941B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B5
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B5#FFFFFF#000000##FFFFFF
##7941B51.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB9
Deuteranopia (green-blind)
#1A5EB2
Tritanopia (blue-blind)
#6D5A75
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7941b5;
/* rgb */ color: rgb(121, 65, 181);
/* oklch */ color: oklch(50.2% 0.177 302.7);
Tailwind
colors: {
  custom: {
    50: '#a479cc',
    500: '#7941b5',
    950: '#000000',
  },
}
SCSS
$custom: #7941b5;
$custom-light: #a479cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b5",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 181
  },
  "hsl": {
    "h": 268.966,
    "s": 47.154,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50207,
    "c": 0.1771,
    "h": 302.7
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#7941B5
secondary
#AAC58C
accent
#D75196
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7941B5

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

Preview Lab → · Contrast checker → · Palette generator →

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