#B142CF#B142CF
#B142CF is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 59.0% C 0.220 H 318.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #B142CF |
|---|---|
| RGB | rgb(177, 66, 207) |
| HSL | hsl(287, 59%, 54%) |
| HSV | hsv(287, 68%, 81%) |
| CMYK | cmyk(14.5%, 68.1%, 0%, 18.8%) |
| CIE-LAB | lab(49.19, 64.43, -52.29) |
| CIE-LCH | lch(49.19, 82.98, 320.94°) |
| OKLab | oklab(59.01% 0.1644 -0.1466) |
| OKLCH | oklch(59.01% 0.22 318.3) |
| XYZ | xyz(31.3406, 17.7499, 60.7946) |
| Luminance | 0.1775 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.71
Lightish Purple
#A552E6
ΔE00 5.32
Hot Purple
#CB00F5
ΔE00 5.97
Purple Pink
#D725DE
ΔE00 6.12
Darkorchid
#9932CC
ΔE00 6.24
Purply
#983FB2
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B142CF #60CF42
analogous
#6A42CF #B142CF #CF42A6
triadic
#B142CF #CFB142 #42CFB1
tetradic
#B142CF #CF6A42 #60CF42 #42A6CF
square
#B142CF #CF6A42 #60CF42 #42A6CF
split-complementary
#B142CF #A6CF42 #42CF6A
monochromatic
#651F78 #8E2BA9 #B142CF #C573DB #D9A4E8
Accessibility & contrast
On white
4.62
#B142CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#B142CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #B142CF
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B142CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B142CF | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#4978CC
Tritanopia (blue-blind)
#B05D84
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #b142cf; /* rgb */ color: rgb(177, 66, 207); /* oklch */ color: oklch(59.0% 0.220 318.3);
Tailwind
colors: {
custom: {
50: '#cc7fde',
500: '#b142cf',
950: '#000000',
},
}SCSS
$custom: #b142cf; $custom-light: #cc7fde; $custom-dark: #000000;
JSON
{
"hex": "#b142cf",
"rgb": {
"r": 177,
"g": 66,
"b": 207
},
"hsl": {
"h": 287.234,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.59012,
"c": 0.22029,
"h": 318.3
},
"luminance": 0.17749
}Semantic roles & 50–950 ramp
primary
#B142CF
secondary
#A5D598
accent
#E34567
background
#FDF8FD
surface
#FAEFFB
border
#D3CAD4
text
#140B15
muted
#837C83