#7943CD#7943CD

#7943CD is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.3% C 0.202 H 296.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#7943CD
RGBrgb(121, 67, 205)
HSLhsl(263, 58%, 53%)
HSVhsv(263, 67%, 80%)
CMYKcmyk(41%, 67.3%, 0%, 19.6%)
CIE-LABlab(41.98, 51.92, -63.14)
CIE-LCHlch(41.98, 81.75, 309.43°)
OKLaboklab(52.26% 0.0908 -0.1803)
OKLCHoklch(52.26% 0.202 296.7)
XYZxyz(20.9089, 12.4866, 59.0543)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943CD #97CD43
analogous
#4352CD #7943CD #BE43CD
triadic
#7943CD #CD7943 #43CD79
tetradic
#7943CD #CD4352 #97CD43 #43CDBE
square
#7943CD #CD4352 #97CD43 #43CDBE
split-complementary
#7943CD #CDBE43 #52CD43
monochromatic
#411F76 #5C2CA7 #7943CD #9B73DA #BEA4E7

Accessibility & contrast

On white

6.00
#7943CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#7943CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943CD
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943CD#FFFFFF#000000##FFFFFF
##7943CD1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#0061CA
Tritanopia (blue-blind)
#646483
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #7943cd;
/* rgb */ color: rgb(121, 67, 205);
/* oklch */ color: oklch(52.3% 0.202 296.7);
Tailwind
colors: {
  custom: {
    50: '#a67bdd',
    500: '#7943cd',
    950: '#000000',
  },
}
SCSS
$custom: #7943cd;
$custom-light: #a67bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#7943cd",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 205
  },
  "hsl": {
    "h": 263.478,
    "s": 57.983,
    "l": 53.333
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.20186,
    "h": 296.7
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#7943CD
secondary
#BCD498
accent
#E147A5
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7943CD

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

Preview Lab → · Contrast checker → · Palette generator →

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