#7941AB#7941AB

#7941AB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.5% C 0.166 H 305.5°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#7941AB
RGBrgb(121, 65, 171)
HSLhsl(272, 45%, 46%)
HSVhsv(272, 62%, 67%)
CMYKcmyk(29.2%, 62%, 0%, 32.9%)
CIE-LABlab(39.22, 44.39, -47.68)
CIE-LCHlch(39.22, 65.15, 312.96°)
OKLaboklab(49.51% 0.0962 -0.1348)
OKLCHoklch(49.51% 0.166 305.5)
XYZxyz(17.1245, 10.7859, 39.6999)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941AB #73AB41
analogous
#4441AB #7941AB #AB41A8
triadic
#7941AB #AB7941 #41AB79
tetradic
#7941AB #AB4441 #73AB41 #41A8AB
square
#7941AB #AB4441 #73AB41 #41A8AB
split-complementary
#7941AB #A8AB41 #41AB44
monochromatic
#3A1F52 #5A307F #7941AB #9765C4 #B591D5

Accessibility & contrast

On white

6.65
#7941AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7941AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7941AB
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7941AB#FFFFFF#000000##FFFFFF
##7941AB1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045BAE
Deuteranopia (green-blind)
#2A5DA9
Tritanopia (blue-blind)
#705770
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7941ab;
/* rgb */ color: rgb(121, 65, 171);
/* oklch */ color: oklch(49.5% 0.166 305.5);
Tailwind
colors: {
  custom: {
    50: '#a379c5',
    500: '#7941ab',
    950: '#000000',
  },
}
SCSS
$custom: #7941ab;
$custom-light: #a379c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7941ab",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 171
  },
  "hsl": {
    "h": 271.698,
    "s": 44.915,
    "l": 46.275
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.16561,
    "h": 305.5
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#7941AB
secondary
#A2C187
accent
#D55390
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7941AB

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

Preview Lab → · Contrast checker → · Palette generator →

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