#7943AA#7943AA

#7943AA is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.7% C 0.161 H 305.5°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7943AA
RGBrgb(121, 67, 170)
HSLhsl(271, 43%, 46%)
HSVhsv(271, 61%, 67%)
CMYKcmyk(28.8%, 60.6%, 0%, 33.3%)
CIE-LABlab(39.55, 43.08, -46.55)
CIE-LCHlch(39.55, 63.43, 312.78°)
OKLaboklab(49.73% 0.0937 -0.1315)
OKLCHoklch(49.73% 0.161 305.5)
XYZxyz(17.1464, 10.9817, 39.2388)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943AA #74AA43
analogous
#4543AA #7943AA #AA43A8
triadic
#7943AA #AA7943 #43AA79
tetradic
#7943AA #AA4543 #74AA43 #43A8AA
square
#7943AA #AA4543 #74AA43 #43A8AA
split-complementary
#7943AA #A8AA43 #43AA45
monochromatic
#3B2052 #5A327E #7943AA #9767C3 #B593D4

Accessibility & contrast

On white

6.57
#7943AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7943AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943AA
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943AA#FFFFFF#000000##FFFFFF
##7943AA1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#125CAD
Deuteranopia (green-blind)
#2E5DA8
Tritanopia (blue-blind)
#715870
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7943aa;
/* rgb */ color: rgb(121, 67, 170);
/* oklch */ color: oklch(49.7% 0.161 305.5);
Tailwind
colors: {
  custom: {
    50: '#a37ac4',
    500: '#7943aa',
    950: '#000000',
  },
}
SCSS
$custom: #7943aa;
$custom-light: #a37ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#7943aa",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 271.456,
    "s": 43.46,
    "l": 46.471
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.16149,
    "h": 305.5
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#7943AA
secondary
#A3C089
accent
#D35591
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7943AA

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

Preview Lab → · Contrast checker → · Palette generator →

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