#8943AF#8943AF
#8943AF is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.0% C 0.172 H 311.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8943AF |
|---|---|
| RGB | rgb(137, 67, 175) |
| HSL | hsl(279, 45%, 47%) |
| HSV | hsv(279, 62%, 69%) |
| CMYK | cmyk(21.7%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.89, 48.17, -45.65) |
| CIE-LCH | lch(41.89, 66.37, 316.54°) |
| OKLab | oklab(51.97% 0.1147 -0.1284) |
| OKLCH | oklch(51.97% 0.172 311.8) |
| XYZ | xyz(20.0601, 12.4283, 41.8913) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 2.89
Royal Purple
#7851A9
ΔE00 4.96
Darkorchid
#9932CC
ΔE00 5.14
Medium Purple
#9E43A2
ΔE00 5.86
Barney
#AC1DB8
ΔE00 6.93
Ugly Purple
#A442A0
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8943AF #69AF43
analogous
#5343AF #8943AF #AF439F
triadic
#8943AF #AF8943 #43AF89
tetradic
#8943AF #AF5343 #69AF43 #439FAF
square
#8943AF #AF5343 #69AF43 #439FAF
split-complementary
#8943AF #9FAF43 #43AF53
monochromatic
#442156 #663283 #8943AF #A569C6 #C096D7
Accessibility & contrast
On white
6.02
#8943AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#8943AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8943AF
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8943AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8943AF | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#185FB2
Deuteranopia (green-blind)
#3A64AC
Tritanopia (blue-blind)
#855773
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #8943af; /* rgb */ color: rgb(137, 67, 175); /* oklch */ color: oklch(52.0% 0.172 311.8);
Tailwind
colors: {
custom: {
50: '#ae7bc7',
500: '#8943af',
950: '#000000',
},
}SCSS
$custom: #8943af; $custom-light: #ae7bc7; $custom-dark: #000000;
JSON
{
"hex": "#8943af",
"rgb": {
"r": 137,
"g": 67,
"b": 175
},
"hsl": {
"h": 278.889,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.51974,
"c": 0.17216,
"h": 311.8
},
"luminance": 0.12428
}Semantic roles & 50–950 ramp
primary
#8943AF
secondary
#9FC28B
accent
#D45381
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82