#F07EE2#F07EE2
#F07EE2 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.3% C 0.183 H 332.0°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F07EE2 |
|---|---|
| RGB | rgb(240, 126, 226) |
| HSL | hsl(307, 79%, 72%) |
| HSV | hsv(307, 48%, 94%) |
| CMYK | cmyk(0%, 47.5%, 5.8%, 5.9%) |
| CIE-LAB | lab(68.71, 56.83, -31.71) |
| CIE-LCH | lch(68.71, 65.07, 330.84°) |
| OKLab | oklab(75.35% 0.162 -0.0862) |
| OKLCH | oklch(75.35% 0.183 332) |
| XYZ | xyz(57.1232, 38.9414, 76.4444) |
| Luminance | 0.3894 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 2.07
Violet (CSS)
#EE82EE
ΔE00 2.28
Lavender Pink
#DD85D7
ΔE00 3.48
Candy Pink
#FF63E9
ΔE00 4.63
Orchid
#DA70D6
ΔE00 5.01
Light Magenta
#FA5FF7
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F07EE2 #7EF08C
analogous
#C57EF0 #F07EE2 #F07EA9
triadic
#F07EE2 #E2F07E #7EE2F0
tetradic
#F07EE2 #F0C57E #7EF08C #7EA9F0
square
#F07EE2 #F0C57E #7EF08C #7EA9F0
split-complementary
#F07EE2 #A9F07E #7EF0C5
monochromatic
#DA19C3 #EA47D6 #F07EE2 #F6B5EE #FCE4F9
Accessibility & contrast
On white
2.39
#F07EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.79
#F07EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F07EE2
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F07EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F07EE2 | 1.00 | 2.39 | 8.79 | 8.79 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B9DE5
Deuteranopia (green-blind)
#9BADDF
Tritanopia (blue-blind)
#F886A6
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #f07ee2; /* rgb */ color: rgb(240, 126, 226); /* oklch */ color: oklch(75.3% 0.183 332.0);
Tailwind
colors: {
custom: {
50: '#f7a7eb',
500: '#f07ee2',
950: '#000000',
},
}SCSS
$custom: #f07ee2; $custom-light: #f7a7eb; $custom-dark: #000000;
JSON
{
"hex": "#f07ee2",
"rgb": {
"r": 240,
"g": 126,
"b": 226
},
"hsl": {
"h": 307.368,
"s": 79.167,
"l": 71.765
},
"oklch": {
"l": 0.75349,
"c": 0.18348,
"h": 332
},
"luminance": 0.38938
}Semantic roles & 50–950 ramp
primary
#F07EE2
secondary
#D6F3DA
accent
#DB240A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84