#7943D5#7943D5

#7943D5 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.211 H 295.1°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7943D5
RGBrgb(121, 67, 213)
HSLhsl(262, 63%, 55%)
HSVhsv(262, 69%, 84%)
CMYKcmyk(43.2%, 68.5%, 0%, 16.5%)
CIE-LABlab(42.59, 54.00, -66.76)
CIE-LCHlch(42.59, 85.86, 308.97°)
OKLaboklab(52.88% 0.0896 -0.1909)
OKLCHoklch(52.88% 0.211 295.1)
XYZxyz(21.8993, 12.8828, 64.2707)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943D5 #9FD543
analogous
#4356D5 #7943D5 #C243D5
triadic
#7943D5 #D57943 #43D579
tetradic
#7943D5 #D54356 #9FD543 #43D5C2
square
#7943D5 #D54356 #9FD543 #43D5C2
split-complementary
#7943D5 #D5C243 #56D543
monochromatic
#421D81 #5B28B3 #7943D5 #9D75E0 #C0A7EB

Accessibility & contrast

On white

5.87
#7943D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7943D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943D5
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943D5#FFFFFF#000000##FFFFFF
##7943D51.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D9
Deuteranopia (green-blind)
#0062D2
Tritanopia (blue-blind)
#606787
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7943d5;
/* rgb */ color: rgb(121, 67, 213);
/* oklch */ color: oklch(52.9% 0.211 295.1);
Tailwind
colors: {
  custom: {
    50: '#a77be3',
    500: '#7943d5',
    950: '#000000',
  },
}
SCSS
$custom: #7943d5;
$custom-light: #a77be3;
$custom-dark: #000000;
JSON
{
  "hex": "#7943d5",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 213
  },
  "hsl": {
    "h": 262.192,
    "s": 63.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.2109,
    "h": 295.1
  },
  "luminance": 0.12883
}

Semantic roles & 50–950 ramp

primary
#7943D5
secondary
#C2D99B
accent
#E741A9
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7943D5

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

Preview Lab → · Contrast checker → · Palette generator →

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