#7943D4#7943D4

#7943D4 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.8% C 0.210 H 295.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#7943D4
RGBrgb(121, 67, 212)
HSLhsl(262, 63%, 55%)
HSVhsv(262, 68%, 83%)
CMYKcmyk(42.9%, 68.4%, 0%, 16.9%)
CIE-LABlab(42.51, 53.74, -66.31)
CIE-LCHlch(42.51, 85.35, 309.02°)
OKLaboklab(52.8% 0.0898 -0.1896)
OKLCHoklch(52.8% 0.21 295.3)
XYZxyz(21.7728, 12.8322, 63.6043)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943D4 #9ED443
analogous
#4355D4 #7943D4 #C243D4
triadic
#7943D4 #D47943 #43D479
tetradic
#7943D4 #D44355 #9ED443 #43D4C2
square
#7943D4 #D44355 #9ED443 #43D4C2
split-complementary
#7943D4 #D4C243 #55D443
monochromatic
#421D7F #5B29B1 #7943D4 #9D75DF #C0A7EB

Accessibility & contrast

On white

5.89
#7943D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#7943D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943D4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943D4#FFFFFF#000000##FFFFFF
##7943D41.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D8
Deuteranopia (green-blind)
#0062D1
Tritanopia (blue-blind)
#606786
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7943d4;
/* rgb */ color: rgb(121, 67, 212);
/* oklch */ color: oklch(52.8% 0.210 295.3);
Tailwind
colors: {
  custom: {
    50: '#a77be2',
    500: '#7943d4',
    950: '#000000',
  },
}
SCSS
$custom: #7943d4;
$custom-light: #a77be2;
$custom-dark: #000000;
JSON
{
  "hex": "#7943d4",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 212
  },
  "hsl": {
    "h": 262.345,
    "s": 62.771,
    "l": 54.706
  },
  "oklch": {
    "l": 0.52802,
    "c": 0.20977,
    "h": 295.3
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#7943D4
secondary
#C1D89B
accent
#E642A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A15
muted
#7F7C84

Preview Lab

Preview with #7943D4

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

Preview Lab → · Contrast checker → · Palette generator →

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