#7943AE#7943AE

#7943AE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.0% C 0.166 H 304.3°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7943AE
RGBrgb(121, 67, 174)
HSLhsl(270, 44%, 47%)
HSVhsv(270, 61%, 68%)
CMYKcmyk(30.5%, 61.5%, 0%, 31.8%)
CIE-LABlab(39.81, 44.06, -48.51)
CIE-LCHlch(39.81, 65.54, 312.25°)
OKLaboklab(50% 0.0936 -0.1373)
OKLCHoklch(50% 0.166 304.3)
XYZxyz(17.5306, 11.1353, 41.2620)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943AE #78AE43
analogous
#4343AE #7943AE #AE43AE
triadic
#7943AE #AE7943 #43AE79
tetradic
#7943AE #AE4343 #78AE43 #43AEAE
square
#7943AE #AE4343 #78AE43 #43AEAE
split-complementary
#7943AE #AEAE43 #43AE43
monochromatic
#3C2156 #5A3282 #7943AE #9869C5 #B695D6

Accessibility & contrast

On white

6.51
#7943AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7943AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7943AE#FFFFFF#000000##FFFFFF
##7943AE1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#055CB1
Deuteranopia (green-blind)
#295EAC
Tritanopia (blue-blind)
#6F5972
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7943ae;
/* rgb */ color: rgb(121, 67, 174);
/* oklch */ color: oklch(50.0% 0.166 304.3);
Tailwind
colors: {
  custom: {
    50: '#a37ac7',
    500: '#7943ae',
    950: '#000000',
  },
}
SCSS
$custom: #7943ae;
$custom-light: #a37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7943ae",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 270.28,
    "s": 44.398,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.16616,
    "h": 304.3
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#7943AE
secondary
#A6C28B
accent
#D45493
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7943AE

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

Preview Lab → · Contrast checker → · Palette generator →

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