#7943C3#7943C3

#7943C3 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.5% C 0.190 H 298.9°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#7943C3
RGBrgb(121, 67, 195)
HSLhsl(265, 52%, 51%)
HSVhsv(265, 66%, 76%)
CMYKcmyk(37.9%, 65.6%, 0%, 23.5%)
CIE-LABlab(41.25, 49.35, -58.53)
CIE-LCHlch(41.25, 76.56, 310.14°)
OKLaboklab(51.5% 0.0921 -0.1667)
OKLCHoklch(51.5% 0.19 298.9)
XYZxyz(19.7402, 12.0191, 52.8991)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943C3 #8DC343
analogous
#434DC3 #7943C3 #B943C3
triadic
#7943C3 #C37943 #43C379
tetradic
#7943C3 #C3434D #8DC343 #43C3B9
square
#7943C3 #C3434D #8DC343 #43C3B9
split-complementary
#7943C3 #C3B943 #4DC343
monochromatic
#40226A #5C3198 #7943C3 #9A71D2 #BBA0E1

Accessibility & contrast

On white

6.17
#7943C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#7943C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943C3
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943C3#FFFFFF#000000##FFFFFF
##7943C31.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#0060C0
Tritanopia (blue-blind)
#68607D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7943c3;
/* rgb */ color: rgb(121, 67, 195);
/* oklch */ color: oklch(51.5% 0.190 298.9);
Tailwind
colors: {
  custom: {
    50: '#a57ad6',
    500: '#7943c3',
    950: '#000000',
  },
}
SCSS
$custom: #7943c3;
$custom-light: #a57ad6;
$custom-dark: #000000;
JSON
{
  "hex": "#7943c3",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 195
  },
  "hsl": {
    "h": 265.313,
    "s": 51.613,
    "l": 51.373
  },
  "oklch": {
    "l": 0.515,
    "c": 0.19045,
    "h": 298.9
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#7943C3
secondary
#B5CD95
accent
#DB4D9F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7943C3

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

Preview Lab → · Contrast checker → · Palette generator →

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