#7943C8#7943C8

#7943C8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.196 H 297.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#7943C8
RGBrgb(121, 67, 200)
HSLhsl(264, 55%, 52%)
HSVhsv(264, 67%, 78%)
CMYKcmyk(39.5%, 66.5%, 0%, 21.6%)
CIE-LABlab(41.61, 50.63, -60.84)
CIE-LCHlch(41.61, 79.16, 309.77°)
OKLaboklab(51.88% 0.0915 -0.1735)
OKLCHoklch(51.88% 0.196 297.8)
XYZxyz(20.3150, 12.2491, 55.9264)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943C8 #92C843
analogous
#434FC8 #7943C8 #BC43C8
triadic
#7943C8 #C87943 #43C879
tetradic
#7943C8 #C8434F #92C843 #43C8BC
square
#7943C8 #C8434F #92C843 #43C8BC
split-complementary
#7943C8 #C8BC43 #4FC843
monochromatic
#412170 #5C2F9F #7943C8 #9B72D6 #BCA2E4

Accessibility & contrast

On white

6.09
#7943C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7943C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943C8
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943C8#FFFFFF#000000##FFFFFF
##7943C81.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#666280
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7943c8;
/* rgb */ color: rgb(121, 67, 200);
/* oklch */ color: oklch(51.9% 0.196 297.8);
Tailwind
colors: {
  custom: {
    50: '#a67bda',
    500: '#7943c8',
    950: '#000000',
  },
}
SCSS
$custom: #7943c8;
$custom-light: #a67bda;
$custom-dark: #000000;
JSON
{
  "hex": "#7943c8",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 200
  },
  "hsl": {
    "h": 264.361,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.51875,
    "c": 0.19617,
    "h": 297.8
  },
  "luminance": 0.12249
}

Semantic roles & 50–950 ramp

primary
#7943C8
secondary
#B9D096
accent
#DE4AA2
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7943C8

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

Preview Lab → · Contrast checker → · Palette generator →

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