#BC2FAF#BC2FAF
#BC2FAF is a mid, highly saturated purple. Relative luminance 0.158; OKLCH L 57.0% C 0.221 H 332.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #BC2FAF |
|---|---|
| RGB | rgb(188, 47, 175) |
| HSL | hsl(306, 60%, 46%) |
| HSV | hsv(306, 75%, 74%) |
| CMYK | cmyk(0%, 75%, 6.9%, 26.3%) |
| CIE-LAB | lab(46.74, 68.07, -37.47) |
| CIE-LCH | lch(46.74, 77.71, 331.17°) |
| OKLab | oklab(57.01% 0.1955 -0.1031) |
| OKLCH | oklch(57.01% 0.221 332.2) |
| XYZ | xyz(29.4935, 15.8220, 42.0497) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.95
Ugly Purple
#A442A0
ΔE00 4.53
Barney
#AC1DB8
ΔE00 5.22
Medium Purple
#9E43A2
ΔE00 5.39
Pinky Purple
#C94CBE
ΔE00 6.66
Purply
#983FB2
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BC2FAF #2FBC3C
analogous
#822FBC #BC2FAF #BC2F68
triadic
#BC2FAF #AFBC2F #2FAFBC
tetradic
#BC2FAF #BC822F #2FBC3C #2F68BC
square
#BC2FAF #BC822F #2FBC3C #2F68BC
split-complementary
#BC2FAF #68BC2F #2FBC82
monochromatic
#5A1754 #8B2381 #BC2FAF #D454C8 #E085D8
Accessibility & contrast
On white
5.04
#BC2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#BC2FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BC2FAF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BC2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BC2FAF | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2562B2
Deuteranopia (green-blind)
#5E76AC
Tritanopia (blue-blind)
#C43F6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #bc2faf; /* rgb */ color: rgb(188, 47, 175); /* oklch */ color: oklch(57.0% 0.221 332.2);
Tailwind
colors: {
custom: {
50: '#d477c7',
500: '#bc2faf',
950: '#000000',
},
}SCSS
$custom: #bc2faf; $custom-light: #d477c7; $custom-dark: #000000;
JSON
{
"hex": "#bc2faf",
"rgb": {
"r": 188,
"g": 47,
"b": 175
},
"hsl": {
"h": 305.532,
"s": 60,
"l": 46.078
},
"oklch": {
"l": 0.57014,
"c": 0.22103,
"h": 332.2
},
"luminance": 0.1582
}Semantic roles & 50–950 ramp
primary
#BC2FAF
secondary
#7DCA84
accent
#E35345
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82