#F07AF2#F07AF2
#F07AF2 is a light, highly saturated purple. Relative luminance 0.389; OKLCH L 75.5% C 0.203 H 326.7°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #F07AF2 |
|---|---|
| RGB | rgb(240, 122, 242) |
| HSL | hsl(299, 82%, 71%) |
| HSV | hsv(299, 50%, 95%) |
| CMYK | cmyk(0.8%, 49.6%, 0%, 5.1%) |
| CIE-LAB | lab(68.65, 61.47, -40.62) |
| CIE-LCH | lch(68.65, 73.68, 326.54°) |
| OKLab | oklab(75.52% 0.1701 -0.1116) |
| OKLCH | oklch(75.52% 0.203 326.7) |
| XYZ | xyz(58.9206, 38.8583, 88.3841) |
| Luminance | 0.3886 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.74
Purply Pink
#F075E6
ΔE00 2.08
Candy Pink
#FF63E9
ΔE00 4.19
Light Magenta
#FA5FF7
ΔE00 4.21
Violet Pink
#FB5FFC
ΔE00 4.34
Orchid
#DA70D6
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F07AF2 #7CF27A
analogous
#B47AF2 #F07AF2 #F27AB8
triadic
#F07AF2 #F2F07A #7AF2F0
tetradic
#F07AF2 #F2B47A #7CF27A #7AB8F2
square
#F07AF2 #F2B47A #7CF27A #7AB8F2
split-complementary
#F07AF2 #B8F27A #7AF2B4
monochromatic
#D916DC #EA42ED #F07AF2 #F6B2F7 #FCE3FC
Accessibility & contrast
On white
2.39
#F07AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.77
#F07AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F07AF2
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F07AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F07AF2 | 1.00 | 2.39 | 8.77 | 8.77 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#91ADEE
Tritanopia (blue-blind)
#F687AB
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #f07af2; /* rgb */ color: rgb(240, 122, 242); /* oklch */ color: oklch(75.5% 0.203 326.7);
Tailwind
colors: {
custom: {
50: '#f7a5f6',
500: '#f07af2',
950: '#000000',
},
}SCSS
$custom: #f07af2; $custom-light: #f7a5f6; $custom-dark: #000000;
JSON
{
"hex": "#f07af2",
"rgb": {
"r": 240,
"g": 122,
"b": 242
},
"hsl": {
"h": 299,
"s": 82.192,
"l": 71.373
},
"oklch": {
"l": 0.75522,
"c": 0.20347,
"h": 326.7
},
"luminance": 0.38855
}Semantic roles & 50–950 ramp
primary
#F07AF2
secondary
#D5F3D4
accent
#DF070B
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85