#7943CB#7943CB

#7943CB is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.200 H 297.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#7943CB
RGBrgb(121, 67, 203)
HSLhsl(264, 57%, 53%)
HSVhsv(264, 67%, 80%)
CMYKcmyk(40.4%, 67%, 0%, 20.4%)
CIE-LABlab(41.83, 51.41, -62.22)
CIE-LCHlch(41.83, 80.71, 309.56°)
OKLaboklab(52.1% 0.0911 -0.1776)
OKLCHoklch(52.1% 0.2 297.2)
XYZxyz(20.6690, 12.3907, 57.7910)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943CB #95CB43
analogous
#4351CB #7943CB #BD43CB
triadic
#7943CB #CB7943 #43CB79
tetradic
#7943CB #CB4351 #95CB43 #43CBBD
square
#7943CB #CB4351 #95CB43 #43CBBD
split-complementary
#7943CB #CBBD43 #51CB43
monochromatic
#412074 #5C2DA4 #7943CB #9B73D8 #BDA3E6

Accessibility & contrast

On white

6.04
#7943CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#7943CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943CB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943CB#FFFFFF#000000##FFFFFF
##7943CB1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#656381
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7943cb;
/* rgb */ color: rgb(121, 67, 203);
/* oklch */ color: oklch(52.1% 0.200 297.2);
Tailwind
colors: {
  custom: {
    50: '#a67bdc',
    500: '#7943cb',
    950: '#000000',
  },
}
SCSS
$custom: #7943cb;
$custom-light: #a67bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#7943cb",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 203
  },
  "hsl": {
    "h": 263.824,
    "s": 56.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52104,
    "c": 0.19958,
    "h": 297.2
  },
  "luminance": 0.12391
}

Semantic roles & 50–950 ramp

primary
#7943CB
secondary
#BBD298
accent
#E048A4
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7943CB

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

Preview Lab → · Contrast checker → · Palette generator →

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