#7943BF#7943BF

#7943BF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.2% C 0.186 H 299.8°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7943BF
RGBrgb(121, 67, 191)
HSLhsl(266, 49%, 51%)
HSVhsv(266, 65%, 75%)
CMYKcmyk(36.6%, 64.9%, 0%, 25.1%)
CIE-LABlab(40.96, 48.33, -56.65)
CIE-LCHlch(40.96, 74.47, 310.47°)
OKLaboklab(51.21% 0.0925 -0.1612)
OKLCHoklch(51.21% 0.186 299.8)
XYZxyz(19.2940, 11.8407, 50.5491)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943BF #89BF43
analogous
#434BBF #7943BF #B743BF
triadic
#7943BF #BF7943 #43BF79
tetradic
#7943BF #BF434B #89BF43 #43BFB7
square
#7943BF #BF434B #89BF43 #43BFB7
split-complementary
#7943BF #BFB743 #4BBF43
monochromatic
#3F2265 #5C3293 #7943BF #9A71CF #BA9EDE

Accessibility & contrast

On white

6.23
#7943BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7943BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943BF
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943BF#FFFFFF#000000##FFFFFF
##7943BF1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#0060BC
Tritanopia (blue-blind)
#695F7B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7943bf;
/* rgb */ color: rgb(121, 67, 191);
/* oklch */ color: oklch(51.2% 0.186 299.8);
Tailwind
colors: {
  custom: {
    50: '#a57ad3',
    500: '#7943bf',
    950: '#000000',
  },
}
SCSS
$custom: #7943bf;
$custom-light: #a57ad3;
$custom-dark: #000000;
JSON
{
  "hex": "#7943bf",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 191
  },
  "hsl": {
    "h": 266.129,
    "s": 49.206,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51205,
    "c": 0.18585,
    "h": 299.8
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#7943BF
secondary
#B2CA93
accent
#D94F9D
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7943BF

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

Preview Lab → · Contrast checker → · Palette generator →

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