#7943C5#7943C5

#7943C5 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.6% C 0.193 H 298.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#7943C5
RGBrgb(121, 67, 197)
HSLhsl(265, 53%, 52%)
HSVhsv(265, 66%, 77%)
CMYKcmyk(38.6%, 66%, 0%, 22.7%)
CIE-LABlab(41.39, 49.86, -59.46)
CIE-LCHlch(41.39, 77.60, 309.98°)
OKLaboklab(51.65% 0.0918 -0.1694)
OKLCHoklch(51.65% 0.193 298.5)
XYZxyz(19.9678, 12.1102, 54.0980)
Luminance0.1211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943C5 #8FC543
analogous
#434EC5 #7943C5 #BA43C5
triadic
#7943C5 #C57943 #43C579
tetradic
#7943C5 #C5434E #8FC543 #43C5BA
square
#7943C5 #C5434E #8FC543 #43C5BA
split-complementary
#7943C5 #C5BA43 #4EC543
monochromatic
#40216C #5C309B #7943C5 #9A72D3 #BCA1E2

Accessibility & contrast

On white

6.14
#7943C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7943C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943C5
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943C5#FFFFFF#000000##FFFFFF
##7943C51.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0060C2
Tritanopia (blue-blind)
#67617E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7943c5;
/* rgb */ color: rgb(121, 67, 197);
/* oklch */ color: oklch(51.6% 0.193 298.5);
Tailwind
colors: {
  custom: {
    50: '#a57bd7',
    500: '#7943c5',
    950: '#000000',
  },
}
SCSS
$custom: #7943c5;
$custom-light: #a57bd7;
$custom-dark: #000000;
JSON
{
  "hex": "#7943c5",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 197
  },
  "hsl": {
    "h": 264.923,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.51649,
    "c": 0.19273,
    "h": 298.5
  },
  "luminance": 0.1211
}

Semantic roles & 50–950 ramp

primary
#7943C5
secondary
#B7CE95
accent
#DC4CA0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100914
muted
#7F7B83

Preview Lab

Preview with #7943C5

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

Preview Lab → · Contrast checker → · Palette generator →

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