#8743AF#8743AF
#8743AF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.171 H 310.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8743AF |
|---|---|
| RGB | rgb(135, 67, 175) |
| HSL | hsl(278, 45%, 47%) |
| HSV | hsv(278, 62%, 69%) |
| CMYK | cmyk(22.9%, 61.7%, 0%, 31.4%) |
| CIE-LAB | lab(41.63, 47.68, -46.09) |
| CIE-LCH | lch(41.63, 66.31, 315.97°) |
| OKLab | oklab(51.73% 0.1121 -0.1297) |
| OKLCH | oklch(51.73% 0.171 310.8) |
| XYZ | xyz(19.7352, 12.2608, 41.8761) |
| Luminance | 0.1226 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 3.29
Royal Purple
#7851A9
ΔE00 4.74
Darkorchid
#9932CC
ΔE00 5.25
Medium Purple
#9E43A2
ΔE00 6.25
Barney
#AC1DB8
ΔE00 7.25
Deep Lavender
#8D5EB7
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8743AF #6BAF43
analogous
#5143AF #8743AF #AF43A1
triadic
#8743AF #AF8743 #43AF87
tetradic
#8743AF #AF5143 #6BAF43 #43A1AF
square
#8743AF #AF5143 #6BAF43 #43A1AF
split-complementary
#8743AF #A1AF43 #43AF51
monochromatic
#432156 #653283 #8743AF #A469C6 #BF96D7
Accessibility & contrast
On white
6.08
#8743AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#8743AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8743AF
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8743AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8743AF | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#3863AC
Tritanopia (blue-blind)
#825873
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #8743af; /* rgb */ color: rgb(135, 67, 175); /* oklch */ color: oklch(51.7% 0.171 310.8);
Tailwind
colors: {
custom: {
50: '#ad7bc7',
500: '#8743af',
950: '#000000',
},
}SCSS
$custom: #8743af; $custom-light: #ad7bc7; $custom-dark: #000000;
JSON
{
"hex": "#8743af",
"rgb": {
"r": 135,
"g": 67,
"b": 175
},
"hsl": {
"h": 277.778,
"s": 44.628,
"l": 47.451
},
"oklch": {
"l": 0.51728,
"c": 0.17145,
"h": 310.8
},
"luminance": 0.1226
}Semantic roles & 50–950 ramp
primary
#8743AF
secondary
#A0C28B
accent
#D45383
background
#FAF7FC
surface
#F5EEF8
border
#CFC9D1
text
#110A13
muted
#807C82