#7941AA#7941AA

#7941AA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.4% C 0.164 H 305.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#7941AA
RGBrgb(121, 65, 170)
HSLhsl(272, 45%, 46%)
HSVhsv(272, 62%, 67%)
CMYKcmyk(28.8%, 61.8%, 0%, 33.3%)
CIE-LABlab(39.15, 44.15, -47.19)
CIE-LCHlch(39.15, 64.62, 313.09°)
OKLaboklab(49.44% 0.0962 -0.1334)
OKLCHoklch(49.44% 0.164 305.8)
XYZxyz(17.0296, 10.7480, 39.1998)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941AA #72AA41
analogous
#4441AA #7941AA #AA41A6
triadic
#7941AA #AA7941 #41AA79
tetradic
#7941AA #AA4441 #72AA41 #41A6AA
square
#7941AA #AA4441 #72AA41 #41A6AA
split-complementary
#7941AA #A6AA41 #41AA44
monochromatic
#3A1F51 #59307E #7941AA #9764C4 #B591D5

Accessibility & contrast

On white

6.67
#7941AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7941AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7941AA#FFFFFF#000000##FFFFFF
##7941AA1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085AAD
Deuteranopia (green-blind)
#2B5CA8
Tritanopia (blue-blind)
#71566F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7941aa;
/* rgb */ color: rgb(121, 65, 170);
/* oklch */ color: oklch(49.4% 0.164 305.8);
Tailwind
colors: {
  custom: {
    50: '#a379c4',
    500: '#7941aa',
    950: '#000000',
  },
}
SCSS
$custom: #7941aa;
$custom-light: #a379c4;
$custom-dark: #000000;
JSON
{
  "hex": "#7941aa",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 170
  },
  "hsl": {
    "h": 272,
    "s": 44.681,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.16446,
    "h": 305.8
  },
  "luminance": 0.10748
}

Semantic roles & 50–950 ramp

primary
#7941AA
secondary
#A1C087
accent
#D45390
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7941AA

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

Preview Lab → · Contrast checker → · Palette generator →

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