#7941AF#7941AF

#7941AF is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.170 H 304.3°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#7941AF
RGBrgb(121, 65, 175)
HSLhsl(271, 46%, 47%)
HSVhsv(271, 63%, 69%)
CMYKcmyk(30.9%, 62.9%, 0%, 31.4%)
CIE-LABlab(39.48, 45.37, -49.63)
CIE-LCHlch(39.48, 67.24, 312.43°)
OKLaboklab(49.79% 0.096 -0.1406)
OKLCHoklch(49.79% 0.17 304.3)
XYZxyz(17.5116, 10.9408, 41.7384)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7941AF #77AF41
analogous
#4241AF #7941AF #AF41AE
triadic
#7941AF #AF7941 #41AF79
tetradic
#7941AF #AF4241 #77AF41 #41AEAF
square
#7941AF #AF4241 #77AF41 #41AEAF
split-complementary
#7941AF #AEAF41 #41AF42
monochromatic
#3B2056 #5A3082 #7941AF #9767C6 #B693D7

Accessibility & contrast

On white

6.59
#7941AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7941AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7941AF#FFFFFF#000000##FFFFFF
##7941AF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#245DAD
Tritanopia (blue-blind)
#6F5872
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7941af;
/* rgb */ color: rgb(121, 65, 175);
/* oklch */ color: oklch(49.8% 0.170 304.3);
Tailwind
colors: {
  custom: {
    50: '#a379c7',
    500: '#7941af',
    950: '#000000',
  },
}
SCSS
$custom: #7941af;
$custom-light: #a379c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7941af",
  "rgb": {
    "r": 121,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 270.545,
    "s": 45.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.49785,
    "c": 0.17021,
    "h": 304.3
  },
  "luminance": 0.10941
}

Semantic roles & 50–950 ramp

primary
#7941AF
secondary
#A5C289
accent
#D55293
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #7941AF

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

Preview Lab → · Contrast checker → · Palette generator →

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