#B642CF#B642CF
#B642CF is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 59.7% C 0.222 H 320.0°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #B642CF |
|---|---|
| RGB | rgb(182, 66, 207) |
| HSL | hsl(289, 59%, 54%) |
| HSV | hsv(289, 68%, 81%) |
| CMYK | cmyk(12.1%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(49.92, 65.52, -51.09) |
| CIE-LCH | lch(49.92, 83.09, 322.05°) |
| OKLab | oklab(59.68% 0.1703 -0.1429) |
| OKLCH | oklch(59.68% 0.222 320) |
| XYZ | xyz(32.5007, 18.3481, 60.8490) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.05
Purple Pink
#D725DE
ΔE00 5.26
Purpley Pink
#C83CB9
ΔE00 5.64
Lightish Purple
#A552E6
ΔE00 5.70
Hot Purple
#CB00F5
ΔE00 5.78
Pinky Purple
#C94CBE
ΔE00 6.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B642CF #5BCF42
analogous
#6F42CF #B642CF #CF42A1
triadic
#B642CF #CFB642 #42CFB6
tetradic
#B642CF #CF6F42 #5BCF42 #42A1CF
square
#B642CF #CF6F42 #5BCF42 #42A1CF
split-complementary
#B642CF #A1CF42 #42CF6F
monochromatic
#681F78 #932BA9 #B642CF #C973DB #DCA4E8
Accessibility & contrast
On white
4.50
#B642CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#B642CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B642CF
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B642CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B642CF | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#4E7BCC
Tritanopia (blue-blind)
#B75C84
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #b642cf; /* rgb */ color: rgb(182, 66, 207); /* oklch */ color: oklch(59.7% 0.222 320.0);
Tailwind
colors: {
custom: {
50: '#d080de',
500: '#b642cf',
950: '#000000',
},
}SCSS
$custom: #b642cf; $custom-light: #d080de; $custom-dark: #000000;
JSON
{
"hex": "#b642cf",
"rgb": {
"r": 182,
"g": 66,
"b": 207
},
"hsl": {
"h": 289.362,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59678,
"c": 0.22235,
"h": 320
},
"luminance": 0.18347
}Semantic roles & 50–950 ramp
primary
#B642CF
secondary
#A3D598
accent
#E34561
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83