#F56BF2#F56BF2
#F56BF2 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.3% C 0.229 H 328.4°. Best body text is #000000 at 8.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F56BF2 |
|---|---|
| RGB | rgb(245, 107, 242) |
| HSL | hsl(301, 87%, 69%) |
| HSV | hsv(301, 56%, 96%) |
| CMYK | cmyk(0%, 56.3%, 1.2%, 3.9%) |
| CIE-LAB | lab(66.78, 69.56, -43.50) |
| CIE-LCH | lch(66.78, 82.04, 327.98°) |
| OKLab | oklab(74.29% 0.1947 -0.1197) |
| OKLCH | oklch(74.29% 0.229 328.4) |
| XYZ | xyz(58.9401, 36.3424, 87.8975) |
| Luminance | 0.3634 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.79
Violet Pink
#FB5FFC
ΔE00 2.12
Candy Pink
#FF63E9
ΔE00 2.47
Purply Pink
#F075E6
ΔE00 2.55
Violet (CSS)
#EE82EE
ΔE00 4.13
Orchid
#DA70D6
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F56BF2 #6BF56E
analogous
#B36BF5 #F56BF2 #F56BAD
triadic
#F56BF2 #F2F56B #6BF2F5
tetradic
#F56BF2 #F5B36B #6BF56E #6BADF5
square
#F56BF2 #F5B36B #6BF56E #6BADF5
split-complementary
#F56BF2 #ADF56B #6BF5B3
monochromatic
#D70FD3 #F132ED #F56BF2 #F9A4F7 #FDDEFC
Accessibility & contrast
On white
2.54
#F56BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.27
#F56BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F56BF2
8.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F56BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F56BF2 | 1.00 | 2.54 | 8.27 | 8.27 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#8BA9EE
Tritanopia (blue-blind)
#FC7AA5
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f56bf2; /* rgb */ color: rgb(245, 107, 242); /* oklch */ color: oklch(74.3% 0.229 328.4);
Tailwind
colors: {
custom: {
50: '#fb9cf7',
500: '#f56bf2',
950: '#000000',
},
}SCSS
$custom: #f56bf2; $custom-light: #fb9cf7; $custom-dark: #000000;
JSON
{
"hex": "#f56bf2",
"rgb": {
"r": 245,
"g": 107,
"b": 242
},
"hsl": {
"h": 301.304,
"s": 87.342,
"l": 69.02
},
"oklch": {
"l": 0.74286,
"c": 0.22852,
"h": 328.4
},
"luminance": 0.36339
}Semantic roles & 50–950 ramp
primary
#F56BF2
secondary
#CAF2CB
accent
#E40702
background
#FFFAFF
surface
#FFF3FE
border
#D7CDD6
text
#180F17
muted
#867F85