#7943BB#7943BB

#7943BB is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.9% C 0.181 H 300.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#7943BB
RGBrgb(121, 67, 187)
HSLhsl(267, 47%, 50%)
HSVhsv(267, 64%, 73%)
CMYKcmyk(35.3%, 64.2%, 0%, 26.7%)
CIE-LABlab(40.68, 47.31, -54.76)
CIE-LCHlch(40.68, 72.37, 310.83°)
OKLaboklab(50.91% 0.0928 -0.1557)
OKLCHoklch(50.91% 0.181 300.8)
XYZxyz(18.8598, 11.6670, 48.2624)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943BB #85BB43
analogous
#4349BB #7943BB #B543BB
triadic
#7943BB #BB7943 #43BB79
tetradic
#7943BB #BB4349 #85BB43 #43BBB5
square
#7943BB #BB4349 #85BB43 #43BBB5
split-complementary
#7943BB #BBB543 #49BB43
monochromatic
#3F2361 #5C338E #7943BB #9970CC #B99DDC

Accessibility & contrast

On white

6.30
#7943BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7943BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943BB
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943BB#FFFFFF#000000##FFFFFF
##7943BB1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#105FB8
Tritanopia (blue-blind)
#6B5D79
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7943bb;
/* rgb */ color: rgb(121, 67, 187);
/* oklch */ color: oklch(50.9% 0.181 300.8);
Tailwind
colors: {
  custom: {
    50: '#a47ad0',
    500: '#7943bb',
    950: '#000000',
  },
}
SCSS
$custom: #7943bb;
$custom-light: #a47ad0;
$custom-dark: #000000;
JSON
{
  "hex": "#7943bb",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 187
  },
  "hsl": {
    "h": 267,
    "s": 47.244,
    "l": 49.804
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.18124,
    "h": 300.8
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7943BB

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

Preview Lab → · Contrast checker → · Palette generator →

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