#B342AE#B342AE
#B342AE is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.4% C 0.193 H 329.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B342AE |
|---|---|
| RGB | rgb(179, 66, 174) |
| HSL | hsl(303, 46%, 48%) |
| HSV | hsv(303, 63%, 70%) |
| CMYK | cmyk(0%, 63.1%, 2.8%, 29.8%) |
| CIE-LAB | lab(47.67, 58.95, -35.51) |
| CIE-LCH | lch(47.67, 68.82, 328.93°) |
| OKLab | oklab(57.39% 0.1662 -0.0978) |
| OKLCH | oklch(57.39% 0.193 329.5) |
| XYZ | xyz(28.1784, 16.5381, 41.7442) |
| Luminance | 0.1654 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 3.40
Purpley Pink
#C83CB9
ΔE00 3.88
Medium Purple
#9E43A2
ΔE00 4.20
Pinky Purple
#C94CBE
ΔE00 5.73
Purply
#983FB2
ΔE00 6.23
Barney
#AC1DB8
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B342AE #42B347
analogous
#7F42B3 #B342AE #B34275
triadic
#B342AE #AEB342 #42AEB3
tetradic
#B342AE #B37F42 #42B347 #4275B3
square
#B342AE #B37F42 #42B347 #4275B3
split-complementary
#B342AE #75B342 #42B37F
monochromatic
#5A2157 #863283 #B342AE #C86AC4 #D997D6
Accessibility & contrast
On white
4.88
#B342AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#B342AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B342AE
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B342AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B342AE | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3867B1
Deuteranopia (green-blind)
#6077AB
Tritanopia (blue-blind)
#B94F72
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #b342ae; /* rgb */ color: rgb(179, 66, 174); /* oklch */ color: oklch(57.4% 0.193 329.5);
Tailwind
colors: {
custom: {
50: '#cd7ec6',
500: '#b342ae',
950: '#000000',
},
}SCSS
$custom: #b342ae; $custom-light: #cd7ec6; $custom-dark: #000000;
JSON
{
"hex": "#b342ae",
"rgb": {
"r": 179,
"g": 66,
"b": 174
},
"hsl": {
"h": 302.655,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.5739,
"c": 0.19285,
"h": 329.5
},
"luminance": 0.16536
}Semantic roles & 50–950 ramp
primary
#B342AE
secondary
#8CC48F
accent
#D65852
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82