#7943AF#7943AF

#7943AF is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.1% C 0.167 H 304.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7943AF
RGBrgb(121, 67, 175)
HSLhsl(270, 45%, 47%)
HSVhsv(270, 62%, 69%)
CMYKcmyk(30.9%, 61.7%, 0%, 31.4%)
CIE-LABlab(39.87, 44.31, -49.00)
CIE-LCHlch(39.87, 66.06, 312.12°)
OKLaboklab(50.07% 0.0935 -0.1387)
OKLCHoklch(50.07% 0.167 304)
XYZxyz(17.6284, 11.1745, 41.7773)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7943AF #79AF43
analogous
#4343AF #7943AF #AF43AF
triadic
#7943AF #AF7943 #43AF79
tetradic
#7943AF #AF4343 #79AF43 #43AFAF
square
#7943AF #AF4343 #79AF43 #43AFAF
split-complementary
#7943AF #AFAF43 #43AF43
monochromatic
#3C2156 #5A3283 #7943AF #9869C6 #B696D7

Accessibility & contrast

On white

6.49
#7943AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7943AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7943AF
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7943AF#FFFFFF#000000##FFFFFF
##7943AF1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#285EAD
Tritanopia (blue-blind)
#6F5973
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7943af;
/* rgb */ color: rgb(121, 67, 175);
/* oklch */ color: oklch(50.1% 0.167 304.0);
Tailwind
colors: {
  custom: {
    50: '#a37ac7',
    500: '#7943af',
    950: '#000000',
  },
}
SCSS
$custom: #7943af;
$custom-light: #a37ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#7943af",
  "rgb": {
    "r": 121,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5007,
    "c": 0.16732,
    "h": 304
  },
  "luminance": 0.11174
}

Semantic roles & 50–950 ramp

primary
#7943AF
secondary
#A7C28B
accent
#D45394
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7943AF

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

Preview Lab → · Contrast checker → · Palette generator →

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