#7943BA#7943BA

#7943BA is a mid, vivid violet. Relative luminance 0.116; OKLCH L 50.8% C 0.180 H 301.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7943BA
RGBrgb(121, 67, 186)
HSLhsl(267, 47%, 50%)
HSVhsv(267, 64%, 73%)
CMYKcmyk(34.9%, 64%, 0%, 27.1%)
CIE-LABlab(40.61, 47.06, -54.29)
CIE-LCHlch(40.61, 71.85, 310.92°)
OKLaboklab(50.84% 0.0929 -0.1543)
OKLCHoklch(50.84% 0.18 301.1)
XYZxyz(18.7531, 11.6243, 47.7006)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943BA #84BA43
analogous
#4348BA #7943BA #B543BA
triadic
#7943BA #BA7943 #43BA79
tetradic
#7943BA #BA4348 #84BA43 #43BAB5
square
#7943BA #BA4348 #84BA43 #43BAB5
split-complementary
#7943BA #BAB543 #48BA43
monochromatic
#3E2360 #5C338D #7943BA #996FCB #B99CDB

Accessibility & contrast

On white

6.32
#7943BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#7943BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7943BA#FFFFFF#000000##FFFFFF
##7943BA1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBE
Deuteranopia (green-blind)
#135FB7
Tritanopia (blue-blind)
#6B5D78
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7943ba;
/* rgb */ color: rgb(121, 67, 186);
/* oklch */ color: oklch(50.8% 0.180 301.1);
Tailwind
colors: {
  custom: {
    50: '#a47acf',
    500: '#7943ba',
    950: '#000000',
  },
}
SCSS
$custom: #7943ba;
$custom-light: #a47acf;
$custom-dark: #000000;
JSON
{
  "hex": "#7943ba",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 186
  },
  "hsl": {
    "h": 267.227,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.50842,
    "c": 0.18008,
    "h": 301.1
  },
  "luminance": 0.11624
}

Semantic roles & 50–950 ramp

primary
#7943BA
secondary
#AFC891
accent
#D7519A
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7943BA

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

Preview Lab → · Contrast checker → · Palette generator →

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