#7943CE#7943CE

#7943CE is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.203 H 296.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#7943CE
RGBrgb(121, 67, 206)
HSLhsl(263, 59%, 54%)
HSVhsv(263, 67%, 81%)
CMYKcmyk(41.3%, 67.5%, 0%, 19.2%)
CIE-LABlab(42.05, 52.18, -63.59)
CIE-LCHlch(42.05, 82.26, 309.37°)
OKLaboklab(52.33% 0.0907 -0.1816)
OKLCHoklch(52.33% 0.203 296.5)
XYZxyz(21.0300, 12.5351, 59.6921)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943CE #98CE43
analogous
#4352CE #7943CE #BE43CE
triadic
#7943CE #CE7943 #43CE79
tetradic
#7943CE #CE4352 #98CE43 #43CEBE
square
#7943CE #CE4352 #98CE43 #43CEBE
split-complementary
#7943CE #CEBE43 #52CE43
monochromatic
#411F77 #5C2CA8 #7943CE #9C74DB #BEA4E7

Accessibility & contrast

On white

5.99
#7943CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#7943CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943CE
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943CE#FFFFFF#000000##FFFFFF
##7943CE1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#636483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7943ce;
/* rgb */ color: rgb(121, 67, 206);
/* oklch */ color: oklch(52.3% 0.203 296.5);
Tailwind
colors: {
  custom: {
    50: '#a67bde',
    500: '#7943ce',
    950: '#000000',
  },
}
SCSS
$custom: #7943ce;
$custom-light: #a67bde;
$custom-dark: #000000;
JSON
{
  "hex": "#7943ce",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 206
  },
  "hsl": {
    "h": 263.309,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52334,
    "c": 0.20299,
    "h": 296.5
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#7943CE
secondary
#BDD499
accent
#E246A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7943CE

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

Preview Lab → · Contrast checker → · Palette generator →

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