#7943C6#7943C6

#7943C6 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.194 H 298.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#7943C6
RGBrgb(121, 67, 198)
HSLhsl(265, 53%, 52%)
HSVhsv(265, 66%, 78%)
CMYKcmyk(38.9%, 66.2%, 0%, 22.4%)
CIE-LABlab(41.46, 50.12, -59.92)
CIE-LCHlch(41.46, 78.12, 309.91°)
OKLaboklab(51.72% 0.0917 -0.1708)
OKLCHoklch(51.72% 0.194 298.2)
XYZxyz(20.0828, 12.1562, 54.7034)
Luminance0.1216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943C6 #90C643
analogous
#434FC6 #7943C6 #BB43C6
triadic
#7943C6 #C67943 #43C679
tetradic
#7943C6 #C6434F #90C643 #43C6BB
square
#7943C6 #C6434F #90C643 #43C6BB
split-complementary
#7943C6 #C6BB43 #4FC643
monochromatic
#41216D #5C2F9C #7943C6 #9A72D4 #BCA1E2

Accessibility & contrast

On white

6.12
#7943C6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7943C6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943C6
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943C6#FFFFFF#000000##FFFFFF
##7943C61.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#0060C3
Tritanopia (blue-blind)
#67617F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7943c6;
/* rgb */ color: rgb(121, 67, 198);
/* oklch */ color: oklch(51.7% 0.194 298.2);
Tailwind
colors: {
  custom: {
    50: '#a57bd8',
    500: '#7943c6',
    950: '#000000',
  },
}
SCSS
$custom: #7943c6;
$custom-light: #a57bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#7943c6",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 198
  },
  "hsl": {
    "h": 264.733,
    "s": 53.469,
    "l": 51.961
  },
  "oklch": {
    "l": 0.51724,
    "c": 0.19388,
    "h": 298.2
  },
  "luminance": 0.12156
}

Semantic roles & 50–950 ramp

primary
#7943C6
secondary
#B7CF96
accent
#DD4BA1
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7943C6

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

Preview Lab → · Contrast checker → · Palette generator →

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