#F072F8#F072F8
#F072F8 is a light, highly saturated purple. Relative luminance 0.373; OKLCH L 74.8% C 0.221 H 325.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).
Color values
| HEX | #F072F8 |
|---|---|
| RGB | rgb(240, 114, 248) |
| HSL | hsl(296, 91%, 71%) |
| HSV | hsv(296, 54%, 97%) |
| CMYK | cmyk(3.2%, 54%, 0%, 2.7%) |
| CIE-LAB | lab(67.53, 66.22, -45.67) |
| CIE-LCH | lch(67.53, 80.44, 325.41°) |
| OKLab | oklab(74.79% 0.1812 -0.1261) |
| OKLCH | oklch(74.79% 0.221 325.2) |
| XYZ | xyz(58.8944, 37.3404, 92.8940) |
| Luminance | 0.3734 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet Pink
#FB5FFC
ΔE00 2.81
Light Magenta
#FA5FF7
ΔE00 2.85
Purply Pink
#F075E6
ΔE00 3.12
Violet (CSS)
#EE82EE
ΔE00 3.58
Candy Pink
#FF63E9
ΔE00 4.05
Orchid
#DA70D6
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F072F8 #7AF872
analogous
#AD72F8 #F072F8 #F872BD
triadic
#F072F8 #F8F072 #72F8F0
tetradic
#F072F8 #F8AD72 #7AF872 #72BDF8
square
#F072F8 #F8AD72 #7AF872 #72BDF8
split-complementary
#F072F8 #BDF872 #72F8AD
monochromatic
#D70BE4 #EA38F5 #F072F8 #F6ACFB #FCE2FE
Accessibility & contrast
On white
2.48
#F072F8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.47
#F072F8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F072F8
8.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F072F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F072F8 | 1.00 | 2.48 | 8.47 | 8.47 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#609AFC
Deuteranopia (green-blind)
#89AAF4
Tritanopia (blue-blind)
#F583AB
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f072f8; /* rgb */ color: rgb(240, 114, 248); /* oklch */ color: oklch(74.8% 0.221 325.2);
Tailwind
colors: {
custom: {
50: '#f8a0fb',
500: '#f072f8',
950: '#000000',
},
}SCSS
$custom: #f072f8; $custom-light: #f8a0fb; $custom-dark: #000000;
JSON
{
"hex": "#f072f8",
"rgb": {
"r": 240,
"g": 114,
"b": 248
},
"hsl": {
"h": 296.418,
"s": 90.541,
"l": 70.98
},
"oklch": {
"l": 0.74788,
"c": 0.22076,
"h": 325.2
},
"luminance": 0.37337
}Semantic roles & 50–950 ramp
primary
#F072F8
secondary
#D3F5D1
accent
#E6000E
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#180F17
muted
#867F85