#7941B9#7941B9

#7941B9 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.5% C 0.182 H 301.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7941B9
RGBrgb(121, 65, 185)
HSLhsl(268, 48%, 49%)
HSVhsv(268, 65%, 73%)
CMYKcmyk(34.6%, 64.9%, 0%, 27.5%)
CIE-LABlab(40.16, 47.85, -54.43)
CIE-LCHlch(40.16, 72.47, 311.32°)
OKLaboklab(50.49% 0.0953 -0.1547)
OKLCHoklch(50.49% 0.182 301.6)
XYZxyz(18.5303, 11.3483, 47.1037)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941B9 #81B941
analogous
#4145B9 #7941B9 #B541B9
triadic
#7941B9 #B97941 #41B979
tetradic
#7941B9 #B94145 #81B941 #41B9B5
square
#7941B9 #B94145 #81B941 #41B9B5
split-complementary
#7941B9 #B9B541 #45B941
monochromatic
#3E215E #5B318C #7941B9 #986CCB #B899DB

Accessibility & contrast

On white

6.42
#7941B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7941B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941B9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941B9#FFFFFF#000000##FFFFFF
##7941B91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EBD
Deuteranopia (green-blind)
#105EB6
Tritanopia (blue-blind)
#6C5C77
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7941b9;
/* rgb */ color: rgb(121, 65, 185);
/* oklch */ color: oklch(50.5% 0.182 301.6);
Tailwind
colors: {
  custom: {
    50: '#a479cf',
    500: '#7941b9',
    950: '#000000',
  },
}
SCSS
$custom: #7941b9;
$custom-light: #a479cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7941b9",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 185
  },
  "hsl": {
    "h": 268,
    "s": 48,
    "l": 49.02
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.18168,
    "h": 301.6
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#7941B9
secondary
#ADC78F
accent
#D85098
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7941B9

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

Preview Lab → · Contrast checker → · Palette generator →

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