#B642AE#B642AE
#B642AE is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.195 H 330.6°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #B642AE |
|---|---|
| RGB | rgb(182, 66, 174) |
| HSL | hsl(304, 47%, 49%) |
| HSV | hsv(304, 64%, 71%) |
| CMYK | cmyk(0%, 63.7%, 4.4%, 28.6%) |
| CIE-LAB | lab(48.13, 59.70, -34.76) |
| CIE-LCH | lch(48.13, 69.08, 329.79°) |
| OKLab | oklab(57.82% 0.1695 -0.0955) |
| OKLCH | oklch(57.82% 0.195 330.6) |
| XYZ | xyz(28.8795, 16.8996, 41.7771) |
| Luminance | 0.1690 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.35
Ugly Purple
#A442A0
ΔE00 3.86
Medium Purple
#9E43A2
ΔE00 4.77
Pinky Purple
#C94CBE
ΔE00 5.21
Barney
#AC1DB8
ΔE00 6.75
Purply
#983FB2
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B642AE #42B64A
analogous
#8442B6 #B642AE #B64274
triadic
#B642AE #AEB642 #42AEB6
tetradic
#B642AE #B68442 #42B64A #4274B6
square
#B642AE #B68442 #42B64A #4274B6
split-complementary
#B642AE #74B642 #42B684
monochromatic
#5C2158 #893283 #B642AE #CA6CC3 #DA99D5
Accessibility & contrast
On white
4.79
#B642AE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.38
#B642AE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B642AE
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B642AE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B642AE | 1.00 | 4.79 | 4.38 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A68B1
Deuteranopia (green-blind)
#6278AB
Tritanopia (blue-blind)
#BD4E72
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #b642ae; /* rgb */ color: rgb(182, 66, 174); /* oklch */ color: oklch(57.8% 0.195 330.6);
Tailwind
colors: {
custom: {
50: '#cf7fc6',
500: '#b642ae',
950: '#000000',
},
}SCSS
$custom: #b642ae; $custom-light: #cf7fc6; $custom-dark: #000000;
JSON
{
"hex": "#b642ae",
"rgb": {
"r": 182,
"g": 66,
"b": 174
},
"hsl": {
"h": 304.138,
"s": 46.774,
"l": 48.627
},
"oklch": {
"l": 0.57816,
"c": 0.19457,
"h": 330.6
},
"luminance": 0.16898
}Semantic roles & 50–950 ramp
primary
#B642AE
secondary
#8EC692
accent
#D65B51
background
#FDF8FC
surface
#FAEFF8
border
#D3CAD1
text
#140B13
muted
#837C82