#7943AC#7943AC

#7943AC is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.9% C 0.164 H 304.9°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#7943AC
RGBrgb(121, 67, 172)
HSLhsl(271, 44%, 47%)
HSVhsv(271, 61%, 67%)
CMYKcmyk(29.7%, 61%, 0%, 32.5%)
CIE-LABlab(39.68, 43.57, -47.53)
CIE-LCHlch(39.68, 64.48, 312.51°)
OKLaboklab(49.87% 0.0936 -0.1344)
OKLCHoklch(49.87% 0.164 304.9)
XYZxyz(17.3371, 11.0579, 40.2428)
Luminance0.1106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943AC #76AC43
analogous
#4543AC #7943AC #AC43AB
triadic
#7943AC #AC7943 #43AC79
tetradic
#7943AC #AC4543 #76AC43 #43ABAC
square
#7943AC #AC4543 #76AC43 #43ABAC
split-complementary
#7943AC #ABAC43 #43AC45
monochromatic
#3B2154 #5A3280 #7943AC #9768C4 #B694D5

Accessibility & contrast

On white

6.54
#7943AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7943AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7943AC#FFFFFF#000000##FFFFFF
##7943AC1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5CAF
Deuteranopia (green-blind)
#2B5EAA
Tritanopia (blue-blind)
#705871
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7943ac;
/* rgb */ color: rgb(121, 67, 172);
/* oklch */ color: oklch(49.9% 0.164 304.9);
Tailwind
colors: {
  custom: {
    50: '#a37ac5',
    500: '#7943ac',
    950: '#000000',
  },
}
SCSS
$custom: #7943ac;
$custom-light: #a37ac5;
$custom-dark: #000000;
JSON
{
  "hex": "#7943ac",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 270.857,
    "s": 43.933,
    "l": 46.863
  },
  "oklch": {
    "l": 0.49866,
    "c": 0.16381,
    "h": 304.9
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#7943AC
secondary
#A5C18A
accent
#D45492
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7943AC

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

Preview Lab → · Contrast checker → · Palette generator →

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