#7941B4#7941B4

#7941B4 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.1% C 0.176 H 302.9°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7941B4
RGBrgb(121, 65, 180)
HSLhsl(269, 47%, 48%)
HSVhsv(269, 64%, 71%)
CMYKcmyk(32.8%, 63.9%, 0%, 29.4%)
CIE-LABlab(39.82, 46.61, -52.04)
CIE-LCHlch(39.82, 69.86, 311.84°)
OKLaboklab(50.14% 0.0957 -0.1477)
OKLCHoklch(50.14% 0.176 302.9)
XYZxyz(18.0118, 11.1408, 44.3727)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B4 #7CB441
analogous
#4143B4 #7941B4 #B241B4
triadic
#7941B4 #B47941 #41B479
tetradic
#7941B4 #B44143 #7CB441 #41B4B2
square
#7941B4 #B44143 #7CB441 #41B4B2
split-complementary
#7941B4 #B4B241 #43B441
monochromatic
#3D215A #5B3187 #7941B4 #9869C9 #B796D9

Accessibility & contrast

On white

6.51
#7941B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7941B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B4
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B4#FFFFFF#000000##FFFFFF
##7941B41.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB8
Deuteranopia (green-blind)
#1C5EB1
Tritanopia (blue-blind)
#6D5A74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7941b4;
/* rgb */ color: rgb(121, 65, 180);
/* oklch */ color: oklch(50.1% 0.176 302.9);
Tailwind
colors: {
  custom: {
    50: '#a479cb',
    500: '#7941b4',
    950: '#000000',
  },
}
SCSS
$custom: #7941b4;
$custom-light: #a479cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b4",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 180
  },
  "hsl": {
    "h": 269.217,
    "s": 46.939,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50136,
    "c": 0.17595,
    "h": 302.9
  },
  "luminance": 0.11141
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7941B4

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

Preview Lab → · Contrast checker → · Palette generator →

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