#7943CF#7943CF

#7943CF is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.4% C 0.204 H 296.3°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#7943CF
RGBrgb(121, 67, 207)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 68%, 81%)
CMYKcmyk(41.5%, 67.6%, 0%, 18.8%)
CIE-LABlab(42.13, 52.44, -64.05)
CIE-LCHlch(42.13, 82.78, 309.31°)
OKLaboklab(52.41% 0.0905 -0.183)
OKLCHoklch(52.41% 0.204 296.3)
XYZxyz(21.1518, 12.5838, 60.3339)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943CF #99CF43
analogous
#4353CF #7943CF #BF43CF
triadic
#7943CF #CF7943 #43CF79
tetradic
#7943CF #CF4353 #99CF43 #43CFBF
square
#7943CF #CF4353 #99CF43 #43CFBF
split-complementary
#7943CF #CFBF43 #53CF43
monochromatic
#421F79 #5C2BAA #7943CF #9C74DB #BEA5E8

Accessibility & contrast

On white

5.97
#7943CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#7943CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943CF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943CF#FFFFFF#000000##FFFFFF
##7943CF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0062CC
Tritanopia (blue-blind)
#636584
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7943cf;
/* rgb */ color: rgb(121, 67, 207);
/* oklch */ color: oklch(52.4% 0.204 296.3);
Tailwind
colors: {
  custom: {
    50: '#a67bdf',
    500: '#7943cf',
    950: '#000000',
  },
}
SCSS
$custom: #7943cf;
$custom-light: #a67bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#7943cf",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 207
  },
  "hsl": {
    "h": 263.143,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52412,
    "c": 0.20413,
    "h": 296.3
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

primary
#7943CF
secondary
#BED599
accent
#E345A6
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7943CF

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

Preview Lab → · Contrast checker → · Palette generator →

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