#F07CE2#F07CE2
#F07CE2 is a light, vivid purple. Relative luminance 0.384; OKLCH L 75.1% C 0.187 H 331.9°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).
Color values
| HEX | #F07CE2 |
|---|---|
| RGB | rgb(240, 124, 226) |
| HSL | hsl(307, 79%, 71%) |
| HSV | hsv(307, 48%, 94%) |
| CMYK | cmyk(0%, 48.3%, 5.8%, 5.9%) |
| CIE-LAB | lab(68.34, 57.79, -32.28) |
| CIE-LCH | lch(68.34, 66.19, 330.82°) |
| OKLab | oklab(75.08% 0.1647 -0.0878) |
| OKLCH | oklch(75.08% 0.187 331.9) |
| XYZ | xyz(56.8700, 38.4350, 76.3600) |
| Luminance | 0.3843 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.69
Violet (CSS)
#EE82EE
ΔE00 2.34
Lavender Pink
#DD85D7
ΔE00 3.66
Candy Pink
#FF63E9
ΔE00 4.28
Orchid
#DA70D6
ΔE00 4.74
Light Magenta
#FA5FF7
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F07CE2 #7CF08A
analogous
#C47CF0 #F07CE2 #F07CA8
triadic
#F07CE2 #E2F07C #7CE2F0
tetradic
#F07CE2 #F0C47C #7CF08A #7CA8F0
square
#F07CE2 #F0C47C #7CF08A #7CA8F0
split-complementary
#F07CE2 #A8F07C #7CF0C4
monochromatic
#D919C2 #EA45D6 #F07CE2 #F6B3EE #FCE4F9
Accessibility & contrast
On white
2.42
#F07CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.69
#F07CE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F07CE2
8.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F07CE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F07CE2 | 1.00 | 2.42 | 8.69 | 8.69 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#789CE5
Deuteranopia (green-blind)
#99ADDF
Tritanopia (blue-blind)
#F884A5
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f07ce2; /* rgb */ color: rgb(240, 124, 226); /* oklch */ color: oklch(75.1% 0.187 331.9);
Tailwind
colors: {
custom: {
50: '#f7a6eb',
500: '#f07ce2',
950: '#000000',
},
}SCSS
$custom: #f07ce2; $custom-light: #f7a6eb; $custom-dark: #000000;
JSON
{
"hex": "#f07ce2",
"rgb": {
"r": 240,
"g": 124,
"b": 226
},
"hsl": {
"h": 307.241,
"s": 79.452,
"l": 71.373
},
"oklch": {
"l": 0.75075,
"c": 0.18667,
"h": 331.9
},
"luminance": 0.38432
}Semantic roles & 50–950 ramp
primary
#F07CE2
secondary
#D5F3D8
accent
#DC230A
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84