#7941AC#7941AC

#7941AC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.167 H 305.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7941AC
RGBrgb(121, 65, 172)
HSLhsl(271, 45%, 46%)
HSVhsv(271, 62%, 67%)
CMYKcmyk(29.7%, 62.2%, 0%, 32.5%)
CIE-LABlab(39.28, 44.64, -48.17)
CIE-LCHlch(39.28, 65.67, 312.82°)
OKLaboklab(49.58% 0.0961 -0.1363)
OKLCHoklch(49.58% 0.167 305.2)
XYZxyz(17.2202, 10.8242, 40.2038)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941AC #74AC41
analogous
#4441AC #7941AC #AC41AA
triadic
#7941AC #AC7941 #41AC79
tetradic
#7941AC #AC4441 #74AC41 #41AAAC
square
#7941AC #AC4441 #74AC41 #41AAAC
split-complementary
#7941AC #AAAC41 #41AC44
monochromatic
#3B1F53 #5A3080 #7941AC #9765C5 #B592D6

Accessibility & contrast

On white

6.64
#7941AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7941AC#FFFFFF#000000##FFFFFF
##7941AC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015BAF
Deuteranopia (green-blind)
#285DAA
Tritanopia (blue-blind)
#705770
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7941ac;
/* rgb */ color: rgb(121, 65, 172);
/* oklch */ color: oklch(49.6% 0.167 305.2);
Tailwind
colors: {
  custom: {
    50: '#a379c5',
    500: '#7941ac',
    950: '#000000',
  },
}
SCSS
$custom: #7941ac;
$custom-light: #a379c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7941ac",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 172
  },
  "hsl": {
    "h": 271.402,
    "s": 45.148,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49579,
    "c": 0.16676,
    "h": 305.2
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#7941AC
secondary
#A3C188
accent
#D55391
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7941AC

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

Preview Lab → · Contrast checker → · Palette generator →

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