#F07EF2#F07EF2
#F07EF2 is a light, vivid purple. Relative luminance 0.399; OKLCH L 76.1% C 0.197 H 326.7°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #F07EF2 |
|---|---|
| RGB | rgb(240, 126, 242) |
| HSL | hsl(299, 82%, 72%) |
| HSV | hsv(299, 48%, 95%) |
| CMYK | cmyk(0.8%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(69.37, 59.56, -39.49) |
| CIE-LCH | lch(69.37, 71.46, 326.45°) |
| OKLab | oklab(76.06% 0.1648 -0.1084) |
| OKLCH | oklch(76.06% 0.197 326.7) |
| XYZ | xyz(59.4219, 39.8609, 88.5512) |
| Luminance | 0.3986 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.06
Purply Pink
#F075E6
ΔE00 2.40
Candy Pink
#FF63E9
ΔE00 4.74
Light Magenta
#FA5FF7
ΔE00 4.95
Violet Pink
#FB5FFC
ΔE00 5.05
Lavender Pink
#DD85D7
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F07EF2 #80F27E
analogous
#B67EF2 #F07EF2 #F27EBA
triadic
#F07EF2 #F2F07E #7EF2F0
tetradic
#F07EF2 #F2B67E #80F27E #7EBAF2
square
#F07EF2 #F2B67E #80F27E #7EBAF2
split-complementary
#F07EF2 #BAF27E #7EF2B6
monochromatic
#DC16DF #EA46EC #F07EF2 #F6B6F8 #FCE3FC
Accessibility & contrast
On white
2.34
#F07EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#F07EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F07EF2
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F07EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F07EF2 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#94AFEE
Tritanopia (blue-blind)
#F68BAD
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #f07ef2; /* rgb */ color: rgb(240, 126, 242); /* oklch */ color: oklch(76.1% 0.197 326.7);
Tailwind
colors: {
custom: {
50: '#f7a7f6',
500: '#f07ef2',
950: '#000000',
},
}SCSS
$custom: #f07ef2; $custom-light: #f7a7f6; $custom-dark: #000000;
JSON
{
"hex": "#f07ef2",
"rgb": {
"r": 240,
"g": 126,
"b": 242
},
"hsl": {
"h": 298.966,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.76056,
"c": 0.19725,
"h": 326.7
},
"luminance": 0.39858
}Semantic roles & 50–950 ramp
primary
#F07EF2
secondary
#D7F4D7
accent
#DE070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85