#F562EF#F562EF
#F562EF is a light, highly saturated purple. Relative luminance 0.344; OKLCH L 73.1% C 0.238 H 329.3°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #F562EF |
|---|---|
| RGB | rgb(245, 98, 239) |
| HSL | hsl(302, 88%, 67%) |
| HSV | hsv(302, 60%, 96%) |
| CMYK | cmyk(0%, 60%, 2.4%, 3.9%) |
| CIE-LAB | lab(65.27, 72.84, -44.22) |
| CIE-LCH | lch(65.27, 85.22, 328.74°) |
| OKLab | oklab(73.13% 0.2051 -0.1217) |
| OKLCH | oklch(73.13% 0.238 329.3) |
| XYZ | xyz(57.6033, 34.3838, 85.2474) |
| Luminance | 0.3438 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.18
Violet Pink
#FB5FFC
ΔE00 1.82
Candy Pink
#FF63E9
ΔE00 2.32
Purply Pink
#F075E6
ΔE00 3.45
Orchid
#DA70D6
ΔE00 5.03
Violet (CSS)
#EE82EE
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F562EF #62F568
analogous
#B262F5 #F562EF #F562A6
triadic
#F562EF #EFF562 #62EFF5
tetradic
#F562EF #F5B262 #62F568 #62A6F5
square
#F562EF #F5B262 #62F568 #62A6F5
split-complementary
#F562EF #A6F562 #62F5B2
monochromatic
#CF0DC7 #F128E9 #F562EF #F99CF5 #FCD5FB
Accessibility & contrast
On white
2.67
#F562EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#F562EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F562EF
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F562EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F562EF | 1.00 | 2.67 | 7.88 | 7.88 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5592F3
Deuteranopia (green-blind)
#87A6EB
Tritanopia (blue-blind)
#FD72A0
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #f562ef; /* rgb */ color: rgb(245, 98, 239); /* oklch */ color: oklch(73.1% 0.238 329.3);
Tailwind
colors: {
custom: {
50: '#fc97f4',
500: '#f562ef',
950: '#000000',
},
}SCSS
$custom: #f562ef; $custom-light: #fc97f4; $custom-dark: #000000;
JSON
{
"hex": "#f562ef",
"rgb": {
"r": 245,
"g": 98,
"b": 239
},
"hsl": {
"h": 302.449,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.73135,
"c": 0.23848,
"h": 329.3
},
"luminance": 0.3438
}Semantic roles & 50–950 ramp
primary
#F562EF
secondary
#C2F1C4
accent
#E50A01
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E17
muted
#867E85