#7943D2#7943D2

#7943D2 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.208 H 295.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#7943D2
RGBrgb(121, 67, 210)
HSLhsl(263, 61%, 54%)
HSVhsv(263, 68%, 82%)
CMYKcmyk(42.4%, 68.1%, 0%, 17.6%)
CIE-LABlab(42.36, 53.22, -65.41)
CIE-LCHlch(42.36, 84.32, 309.13°)
OKLaboklab(52.65% 0.0901 -0.1869)
OKLCHoklch(52.65% 0.208 295.7)
XYZxyz(21.5221, 12.7319, 62.2838)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943D2 #9CD243
analogous
#4355D2 #7943D2 #C043D2
triadic
#7943D2 #D27943 #43D279
tetradic
#7943D2 #D24355 #9CD243 #43D2C0
square
#7943D2 #D24355 #9CD243 #43D2C0
split-complementary
#7943D2 #D2C043 #55D243
monochromatic
#421E7D #5C2AAE #7943D2 #9C74DE #BFA6EA

Accessibility & contrast

On white

5.92
#7943D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#7943D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943D2
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943D2#FFFFFF#000000##FFFFFF
##7943D21.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0062CF
Tritanopia (blue-blind)
#616685
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #7943d2;
/* rgb */ color: rgb(121, 67, 210);
/* oklch */ color: oklch(52.6% 0.208 295.7);
Tailwind
colors: {
  custom: {
    50: '#a77be1',
    500: '#7943d2',
    950: '#000000',
  },
}
SCSS
$custom: #7943d2;
$custom-light: #a77be1;
$custom-dark: #000000;
JSON
{
  "hex": "#7943d2",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 262.657,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.52645,
    "c": 0.20752,
    "h": 295.7
  },
  "luminance": 0.12732
}

Semantic roles & 50–950 ramp

primary
#7943D2
secondary
#C0D79A
accent
#E443A8
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #7943D2

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

Preview Lab → · Contrast checker → · Palette generator →

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