#7943C4#7943C4

#7943C4 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.192 H 298.7°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7943C4
RGBrgb(121, 67, 196)
HSLhsl(265, 52%, 52%)
HSVhsv(265, 66%, 77%)
CMYKcmyk(38.3%, 65.8%, 0%, 23.1%)
CIE-LABlab(41.32, 49.61, -58.99)
CIE-LCHlch(41.32, 77.08, 310.06°)
OKLaboklab(51.58% 0.092 -0.1681)
OKLCHoklch(51.58% 0.192 298.7)
XYZxyz(19.8536, 12.0645, 53.4965)
Luminance0.1206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943C4 #8EC443
analogous
#434EC4 #7943C4 #BA43C4
triadic
#7943C4 #C47943 #43C479
tetradic
#7943C4 #C4434E #8EC443 #43C4BA
square
#7943C4 #C4434E #8EC443 #43C4BA
split-complementary
#7943C4 #C4BA43 #4EC443
monochromatic
#40226B #5C309A #7943C4 #9A72D3 #BBA0E1

Accessibility & contrast

On white

6.15
#7943C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7943C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7943C4#FFFFFF#000000##FFFFFF
##7943C41.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#68617E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7943c4;
/* rgb */ color: rgb(121, 67, 196);
/* oklch */ color: oklch(51.6% 0.192 298.7);
Tailwind
colors: {
  custom: {
    50: '#a57ad7',
    500: '#7943c4',
    950: '#000000',
  },
}
SCSS
$custom: #7943c4;
$custom-light: #a57ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#7943c4",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 196
  },
  "hsl": {
    "h": 265.116,
    "s": 52.227,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.1916,
    "h": 298.7
  },
  "luminance": 0.12065
}

Semantic roles & 50–950 ramp

primary
#7943C4
secondary
#B6CE95
accent
#DC4CA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7943C4

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

Preview Lab → · Contrast checker → · Palette generator →

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