#F28FF2#F28FF2
#F28FF2 is a light, vivid purple. Relative luminance 0.449; OKLCH L 78.7% C 0.171 H 327.0°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #F28FF2 |
|---|---|
| RGB | rgb(242, 143, 242) |
| HSL | hsl(300, 79%, 75%) |
| HSV | hsv(300, 41%, 95%) |
| CMYK | cmyk(0%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(72.85, 51.74, -34.07) |
| CIE-LCH | lch(72.85, 61.95, 326.64°) |
| OKLab | oklab(78.7% 0.1435 -0.093) |
| OKLCH | oklch(78.7% 0.171 327) |
| XYZ | xyz(62.4662, 44.9359, 89.3703) |
| Luminance | 0.4493 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.77
Lavender Pink
#DD85D7
ΔE00 4.96
Purply Pink
#F075E6
ΔE00 5.19
Plum
#DDA0DD
ΔE00 6.94
Candy Pink
#FF63E9
ΔE00 7.62
Orchid
#DA70D6
ΔE00 8.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F28FF2 #8FF28F
analogous
#C08FF2 #F28FF2 #F28FC0
triadic
#F28FF2 #F2F28F #8FF2F2
tetradic
#F28FF2 #F2C08F #8FF28F #8FC0F2
square
#F28FF2 #F2C08F #8FF28F #8FC0F2
split-complementary
#F28FF2 #C0F28F #8FF2C0
monochromatic
#E521E5 #EC58EC #F28FF2 #F8C6F8 #FCE4FC
Accessibility & contrast
On white
2.10
#F28FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#F28FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F28FF2
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F28FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F28FF2 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87ABF6
Deuteranopia (green-blind)
#A2B7EF
Tritanopia (blue-blind)
#F899B5
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #f28ff2; /* rgb */ color: rgb(242, 143, 242); /* oklch */ color: oklch(78.7% 0.171 327.0);
Tailwind
colors: {
custom: {
50: '#f8b2f6',
500: '#f28ff2',
950: '#000000',
},
}SCSS
$custom: #f28ff2; $custom-light: #f8b2f6; $custom-dark: #000000;
JSON
{
"hex": "#f28ff2",
"rgb": {
"r": 242,
"g": 143,
"b": 242
},
"hsl": {
"h": 300,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.78697,
"c": 0.17101,
"h": 327
},
"luminance": 0.44933
}Semantic roles & 50–950 ramp
primary
#F28FF2
secondary
#D7F4D7
accent
#DB0A0A
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085