#7943CA#7943CA

#7943CA is a mid, vivid violet. Relative luminance 0.123; OKLCH L 52.0% C 0.198 H 297.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#7943CA
RGBrgb(121, 67, 202)
HSLhsl(264, 56%, 53%)
HSVhsv(264, 67%, 79%)
CMYKcmyk(40.1%, 66.8%, 0%, 20.8%)
CIE-LABlab(41.76, 51.15, -61.76)
CIE-LCHlch(41.76, 80.19, 309.63°)
OKLaboklab(52.03% 0.0912 -0.1762)
OKLCHoklch(52.03% 0.198 297.4)
XYZxyz(20.5502, 12.3432, 57.1654)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943CA #94CA43
analogous
#4350CA #7943CA #BD43CA
triadic
#7943CA #CA7943 #43CA79
tetradic
#7943CA #CA4350 #94CA43 #43CABD
square
#7943CA #CA4350 #94CA43 #43CABD
split-complementary
#7943CA #CABD43 #50CA43
monochromatic
#412072 #5C2EA2 #7943CA #9B73D7 #BDA2E5

Accessibility & contrast

On white

6.05
#7943CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#7943CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943CA
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943CA#FFFFFF#000000##FFFFFF
##7943CA1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0061C7
Tritanopia (blue-blind)
#656381
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7943ca;
/* rgb */ color: rgb(121, 67, 202);
/* oklch */ color: oklch(52.0% 0.198 297.4);
Tailwind
colors: {
  custom: {
    50: '#a67bdb',
    500: '#7943ca',
    950: '#000000',
  },
}
SCSS
$custom: #7943ca;
$custom-light: #a67bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#7943ca",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 56.017,
    "l": 52.745
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.19844,
    "h": 297.4
  },
  "luminance": 0.12344
}

Semantic roles & 50–950 ramp

primary
#7943CA
secondary
#BAD297
accent
#DF48A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7943CA

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

Preview Lab → · Contrast checker → · Palette generator →

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