#7943D6#7943D6

#7943D6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.0% C 0.212 H 294.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#7943D6
RGBrgb(121, 67, 214)
HSLhsl(262, 64%, 55%)
HSVhsv(262, 69%, 84%)
CMYKcmyk(43.5%, 68.7%, 0%, 16.1%)
CIE-LABlab(42.66, 54.26, -67.21)
CIE-LCHlch(42.66, 86.38, 308.92°)
OKLaboklab(52.96% 0.0894 -0.1922)
OKLCHoklch(52.96% 0.212 294.9)
XYZxyz(22.0267, 12.9337, 64.9412)
Luminance0.1293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943D6 #A0D643
analogous
#4356D6 #7943D6 #C343D6
triadic
#7943D6 #D67943 #43D679
tetradic
#7943D6 #D64356 #A0D643 #43D6C3
square
#7943D6 #D64356 #A0D643 #43D6C3
split-complementary
#7943D6 #D6C343 #56D643
monochromatic
#421C82 #5B27B4 #7943D6 #9D75E1 #C1A7EC

Accessibility & contrast

On white

5.85
#7943D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#7943D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943D6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943D6#FFFFFF#000000##FFFFFF
##7943D61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DA
Deuteranopia (green-blind)
#0062D3
Tritanopia (blue-blind)
#5F6787
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7943d6;
/* rgb */ color: rgb(121, 67, 214);
/* oklch */ color: oklch(53.0% 0.212 294.9);
Tailwind
colors: {
  custom: {
    50: '#a77be4',
    500: '#7943d6',
    950: '#000000',
  },
}
SCSS
$custom: #7943d6;
$custom-light: #a77be4;
$custom-dark: #000000;
JSON
{
  "hex": "#7943d6",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 214
  },
  "hsl": {
    "h": 262.041,
    "s": 64.192,
    "l": 55.098
  },
  "oklch": {
    "l": 0.5296,
    "c": 0.21202,
    "h": 294.9
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#7943D6
secondary
#C3D99C
accent
#E741AA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7943D6

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

Preview Lab → · Contrast checker → · Palette generator →

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