#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 |
|---|---|
| RGB | rgb(121, 67, 175) |
| HSL | hsl(270, 45%, 47%) |
| HSV | hsv(270, 62%, 69%) |
| CMYK | cmyk(30.9%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(39.87, 44.31, -49.00) |
| CIE-LCH | lch(39.87, 66.06, 312.12°) |
| OKLab | oklab(50.07% 0.0935 -0.1387) |
| OKLCH | oklch(50.07% 0.167 304) |
| XYZ | xyz(17.6284, 11.1745, 41.7773) |
| Luminance | 0.1117 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.03
Rebeccapurple
#663399
ΔE00 5.87
Purply
#983FB2
ΔE00 6.14
Bluey Purple
#6241C7
ΔE00 6.15
Darkorchid
#9932CC
ΔE00 6.69
Purple (survey)
#7E1E9C
ΔE00 7.58
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 |
|---|---|---|---|---|
| ##7943AF | 1.00 | 6.49 | 3.23 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.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