#7943F4#7943F4

#7943F4 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.245 H 289.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#7943F4
RGBrgb(121, 67, 244)
HSLhsl(258, 89%, 61%)
HSVhsv(258, 73%, 96%)
CMYKcmyk(50.4%, 72.5%, 0%, 4.3%)
CIE-LABlab(45.10, 62.13, -80.26)
CIE-LCHlch(45.10, 101.50, 307.75°)
OKLaboklab(55.44% 0.0835 -0.2305)
OKLCHoklch(55.44% 0.245 289.9)
XYZxyz(26.2167, 14.6098, 87.0090)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943F4 #BEF443
analogous
#4365F4 #7943F4 #D143F4
triadic
#7943F4 #F47943 #43F479
tetradic
#7943F4 #F44365 #BEF443 #43F4D1
square
#7943F4 #F44365 #BEF443 #43F4D1
split-complementary
#7943F4 #F4D143 #65F443
monochromatic
#3E0AB2 #520EEC #7943F4 #A27DF7 #CBB7FB

Accessibility & contrast

On white

5.35
#7943F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#7943F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943F4
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943F4#FFFFFF#000000##FFFFFF
##7943F41.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF9
Deuteranopia (green-blind)
#0066F1
Tritanopia (blue-blind)
#4D7398
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7943f4;
/* rgb */ color: rgb(121, 67, 244);
/* oklch */ color: oklch(55.4% 0.245 289.9);
Tailwind
colors: {
  custom: {
    50: '#ab7cf9',
    500: '#7943f4',
    950: '#000000',
  },
}
SCSS
$custom: #7943f4;
$custom-light: #ab7cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#7943f4",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 244
  },
  "hsl": {
    "h": 258.305,
    "s": 88.945,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55437,
    "c": 0.2452,
    "h": 289.9
  },
  "luminance": 0.14611
}

Semantic roles & 50–950 ramp

primary
#7943F4
secondary
#D6EBA8
accent
#E6009F
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7943F4

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

Preview Lab → · Contrast checker → · Palette generator →

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