#F082F2#F082F2
#F082F2 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.6% C 0.191 H 326.6°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F082F2 |
|---|---|
| RGB | rgb(240, 130, 242) |
| HSL | hsl(299, 81%, 73%) |
| HSV | hsv(299, 46%, 95%) |
| CMYK | cmyk(0.8%, 46.3%, 0%, 5.1%) |
| CIE-LAB | lab(70.11, 57.62, -38.34) |
| CIE-LCH | lch(70.11, 69.22, 326.36°) |
| OKLab | oklab(76.6% 0.1594 -0.1051) |
| OKLCH | oklch(76.6% 0.191 326.6) |
| XYZ | xyz(59.9437, 40.9044, 88.7251) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 0.63
Purply Pink
#F075E6
ΔE00 2.90
Lavender Pink
#DD85D7
ΔE00 4.83
Candy Pink
#FF63E9
ΔE00 5.35
Light Magenta
#FA5FF7
ΔE00 5.71
Violet Pink
#FB5FFC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F082F2 #84F282
analogous
#B882F2 #F082F2 #F282BC
triadic
#F082F2 #F2F082 #82F2F0
tetradic
#F082F2 #F2B882 #84F282 #82BCF2
square
#F082F2 #F2B882 #84F282 #82BCF2
split-complementary
#F082F2 #BCF282 #82F2B8
monochromatic
#DE18E2 #E94BEC #F082F2 #F7B9F8 #FCE3FC
Accessibility & contrast
On white
2.29
#F082F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#F082F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F082F2
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F082F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F082F2 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#97B0EF
Tritanopia (blue-blind)
#F68EAF
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #f082f2; /* rgb */ color: rgb(240, 130, 242); /* oklch */ color: oklch(76.6% 0.191 326.6);
Tailwind
colors: {
custom: {
50: '#f7aaf6',
500: '#f082f2',
950: '#000000',
},
}SCSS
$custom: #f082f2; $custom-light: #f7aaf6; $custom-dark: #000000;
JSON
{
"hex": "#f082f2",
"rgb": {
"r": 240,
"g": 130,
"b": 242
},
"hsl": {
"h": 298.929,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.76604,
"c": 0.19093,
"h": 326.6
},
"luminance": 0.40901
}Semantic roles & 50–950 ramp
primary
#F082F2
secondary
#D8F4D7
accent
#DE080C
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#171017
muted
#857F85