#9342AF#9342AF
#9342AF is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.1% C 0.178 H 316.4°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #9342AF |
|---|---|
| RGB | rgb(147, 66, 175) |
| HSL | hsl(285, 45%, 47%) |
| HSV | hsv(285, 62%, 69%) |
| CMYK | cmyk(16%, 62.3%, 0%, 31.4%) |
| CIE-LAB | lab(43.06, 51.12, -43.71) |
| CIE-LCH | lch(43.06, 67.26, 319.47°) |
| OKLab | oklab(53.11% 0.1287 -0.1224) |
| OKLCH | oklch(53.11% 0.178 316.4) |
| XYZ | xyz(21.7175, 13.1954, 41.9521) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.02
Medium Purple
#9E43A2
ΔE00 4.06
Darkorchid
#9932CC
ΔE00 5.01
Ugly Purple
#A442A0
ΔE00 5.42
Barney
#AC1DB8
ΔE00 5.45
Royal Purple
#7851A9
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9342AF #5EAF42
analogous
#5D42AF #9342AF #AF4295
triadic
#9342AF #AF9342 #42AF93
tetradic
#9342AF #AF5D42 #5EAF42 #4295AF
square
#9342AF #AF5D42 #5EAF42 #4295AF
split-complementary
#9342AF #95AF42 #42AF5D
monochromatic
#482056 #6E3183 #9342AF #AE68C6 #C695D7
Accessibility & contrast
On white
5.77
#9342AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#9342AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9342AF
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9342AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9342AF | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F61B2
Deuteranopia (green-blind)
#4368AC
Tritanopia (blue-blind)
#925572
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #9342af; /* rgb */ color: rgb(147, 66, 175); /* oklch */ color: oklch(53.1% 0.178 316.4);
Tailwind
colors: {
custom: {
50: '#b67bc7',
500: '#9342af',
950: '#000000',
},
}SCSS
$custom: #9342af; $custom-light: #b67bc7; $custom-dark: #000000;
JSON
{
"hex": "#9342af",
"rgb": {
"r": 147,
"g": 66,
"b": 175
},
"hsl": {
"h": 284.587,
"s": 45.228,
"l": 47.255
},
"oklch": {
"l": 0.53107,
"c": 0.17759,
"h": 316.4
},
"luminance": 0.13195
}Semantic roles & 50–950 ramp
primary
#9342AF
secondary
#99C28A
accent
#D55374
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82