#F56FE2#F56FE2
#F56FE2 is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 74.0% C 0.210 H 333.2°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #F56FE2 |
|---|---|
| RGB | rgb(245, 111, 226) |
| HSL | hsl(309, 87%, 70%) |
| HSV | hsv(309, 55%, 96%) |
| CMYK | cmyk(0%, 54.7%, 7.8%, 3.9%) |
| CIE-LAB | lab(66.73, 65.22, -34.72) |
| CIE-LCH | lch(66.73, 73.88, 331.97°) |
| OKLab | oklab(74.02% 0.1875 -0.0946) |
| OKLCH | oklch(74.02% 0.21 333.2) |
| XYZ | xyz(57.0681, 36.2763, 75.9330) |
| Luminance | 0.3627 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.40
Candy Pink
#FF63E9
ΔE00 2.13
Violet (CSS)
#EE82EE
ΔE00 3.90
Light Magenta
#FA5FF7
ΔE00 4.13
Orchid
#DA70D6
ΔE00 4.36
Violet Pink
#FB5FFC
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F56FE2 #6FF582
analogous
#C56FF5 #F56FE2 #F56F9F
triadic
#F56FE2 #E2F56F #6FE2F5
tetradic
#F56FE2 #F5C56F #6FF582 #6F9FF5
square
#F56FE2 #F5C56F #6FF582 #6F9FF5
split-complementary
#F56FE2 #9FF56F #6FF5C5
monochromatic
#DA0FBE #F136D6 #F56FE2 #F9A8EE #FDE1F9
Accessibility & contrast
On white
2.54
#F56FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#F56FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F56FE2
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F56FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F56FE2 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C96E6
Deuteranopia (green-blind)
#95A9DE
Tritanopia (blue-blind)
#FF789F
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f56fe2; /* rgb */ color: rgb(245, 111, 226); /* oklch */ color: oklch(74.0% 0.210 333.2);
Tailwind
colors: {
custom: {
50: '#fb9eeb',
500: '#f56fe2',
950: '#000000',
},
}SCSS
$custom: #f56fe2; $custom-light: #fb9eeb; $custom-dark: #000000;
JSON
{
"hex": "#f56fe2",
"rgb": {
"r": 245,
"g": 111,
"b": 226
},
"hsl": {
"h": 308.507,
"s": 87.013,
"l": 69.804
},
"oklch": {
"l": 0.74021,
"c": 0.20999,
"h": 333.2
},
"luminance": 0.36272
}Semantic roles & 50–950 ramp
primary
#F56FE2
secondary
#CDF3D2
accent
#E42202
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84