#B146CF#B146CF
#B146CF is a mid, highly saturated purple. Relative luminance 0.182; OKLCH L 59.4% C 0.215 H 318.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #B146CF |
|---|---|
| RGB | rgb(177, 70, 207) |
| HSL | hsl(287, 59%, 54%) |
| HSV | hsv(287, 66%, 81%) |
| CMYK | cmyk(14.5%, 66.2%, 0%, 18.8%) |
| CIE-LAB | lab(49.78, 62.79, -51.35) |
| CIE-LCH | lch(49.78, 81.11, 320.72°) |
| OKLab | oklab(59.43% 0.1601 -0.1439) |
| OKLCH | oklch(59.43% 0.215 318.1) |
| XYZ | xyz(31.5825, 18.2338, 60.8752) |
| Luminance | 0.1823 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Mediumorchid
#BA55D3
ΔE00 4.03
Lightish Purple
#A552E6
ΔE00 5.02
Purple Pink
#D725DE
ΔE00 6.06
Amethyst
#9B5FC0
ΔE00 6.17
Hot Purple
#CB00F5
ΔE00 6.21
Purpley Pink
#C83CB9
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B146CF #64CF46
analogous
#6D46CF #B146CF #CF46A9
triadic
#B146CF #CFB146 #46CFB1
tetradic
#B146CF #CF6D46 #64CF46 #46A9CF
square
#B146CF #CF6D46 #64CF46 #46A9CF
split-complementary
#B146CF #A9CF46 #46CF6D
monochromatic
#67207B #902CAB #B146CF #C577DC #DAA7E8
Accessibility & contrast
On white
4.52
#B146CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#B146CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B146CF
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B146CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B146CF | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C6FD3
Deuteranopia (green-blind)
#4C7ACC
Tritanopia (blue-blind)
#B05F85
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #b146cf; /* rgb */ color: rgb(177, 70, 207); /* oklch */ color: oklch(59.4% 0.215 318.1);
Tailwind
colors: {
custom: {
50: '#cc81de',
500: '#b146cf',
950: '#000000',
},
}SCSS
$custom: #b146cf; $custom-light: #cc81de; $custom-dark: #000000;
JSON
{
"hex": "#b146cf",
"rgb": {
"r": 177,
"g": 70,
"b": 207
},
"hsl": {
"h": 286.861,
"s": 58.798,
"l": 54.314
},
"oklch": {
"l": 0.59433,
"c": 0.21527,
"h": 318.1
},
"luminance": 0.18232
}Semantic roles & 50–950 ramp
primary
#B146CF
secondary
#A8D59B
accent
#E24668
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83