#7943BC#7943BC

#7943BC is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.182 H 300.6°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#7943BC
RGBrgb(121, 67, 188)
HSLhsl(267, 47%, 50%)
HSVhsv(267, 64%, 74%)
CMYKcmyk(35.6%, 64.4%, 0%, 26.3%)
CIE-LABlab(40.75, 47.57, -55.24)
CIE-LCHlch(40.75, 72.90, 310.73°)
OKLaboklab(50.99% 0.0927 -0.157)
OKLCHoklch(50.99% 0.182 300.6)
XYZxyz(18.9672, 11.7100, 48.8282)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943BC #86BC43
analogous
#4349BC #7943BC #B643BC
triadic
#7943BC #BC7943 #43BC79
tetradic
#7943BC #BC4349 #86BC43 #43BCB6
square
#7943BC #BC4349 #86BC43 #43BCB6
split-complementary
#7943BC #BCB643 #49BC43
monochromatic
#3F2362 #5C338F #7943BC #9970CC #B99DDC

Accessibility & contrast

On white

6.28
#7943BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7943BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7943BC#FFFFFF#000000##FFFFFF
##7943BC1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#6B5E79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7943bc;
/* rgb */ color: rgb(121, 67, 188);
/* oklch */ color: oklch(51.0% 0.182 300.6);
Tailwind
colors: {
  custom: {
    50: '#a47ad1',
    500: '#7943bc',
    950: '#000000',
  },
}
SCSS
$custom: #7943bc;
$custom-light: #a47ad1;
$custom-dark: #000000;
JSON
{
  "hex": "#7943bc",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 266.777,
    "s": 47.451,
    "l": 50
  },
  "oklch": {
    "l": 0.50986,
    "c": 0.18239,
    "h": 300.6
  },
  "luminance": 0.1171
}

Semantic roles & 50–950 ramp

primary
#7943BC
secondary
#B0C992
accent
#D7519B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100914
muted
#7F7B82

Preview Lab

Preview with #7943BC

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

Preview Lab → · Contrast checker → · Palette generator →

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