#7943BD#7943BD

#7943BD is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.1% C 0.184 H 300.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#7943BD
RGBrgb(121, 67, 189)
HSLhsl(267, 48%, 50%)
HSVhsv(267, 65%, 74%)
CMYKcmyk(36%, 64.6%, 0%, 25.9%)
CIE-LABlab(40.82, 47.82, -55.71)
CIE-LCHlch(40.82, 73.42, 310.64°)
OKLaboklab(51.06% 0.0927 -0.1584)
OKLCHoklch(51.06% 0.184 300.3)
XYZxyz(19.0754, 11.7532, 49.3979)
Luminance0.1175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943BD #87BD43
analogous
#434ABD #7943BD #B643BD
triadic
#7943BD #BD7943 #43BD79
tetradic
#7943BD #BD434A #87BD43 #43BDB6
square
#7943BD #BD434A #87BD43 #43BDB6
split-complementary
#7943BD #BDB643 #4ABD43
monochromatic
#3F2363 #5C3390 #7943BD #9970CD #BA9EDD

Accessibility & contrast

On white

6.27
#7943BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#7943BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943BD
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943BD#FFFFFF#000000##FFFFFF
##7943BD1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#085FBA
Tritanopia (blue-blind)
#6A5E7A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7943bd;
/* rgb */ color: rgb(121, 67, 189);
/* oklch */ color: oklch(51.1% 0.184 300.3);
Tailwind
colors: {
  custom: {
    50: '#a57ad2',
    500: '#7943bd',
    950: '#000000',
  },
}
SCSS
$custom: #7943bd;
$custom-light: #a57ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#7943bd",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 189
  },
  "hsl": {
    "h": 266.557,
    "s": 48.031,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.18355,
    "h": 300.3
  },
  "luminance": 0.11753
}

Semantic roles & 50–950 ramp

primary
#7943BD
secondary
#B1C993
accent
#D8509C
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7943BD

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

Preview Lab → · Contrast checker → · Palette generator →

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