#F28DED#F28DED
#F28DED is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.170 H 328.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #F28DED |
|---|---|
| RGB | rgb(242, 141, 237) |
| HSL | hsl(303, 80%, 75%) |
| HSV | hsv(303, 42%, 95%) |
| CMYK | cmyk(0%, 41.7%, 2.1%, 5.1%) |
| CIE-LAB | lab(72.26, 51.87, -32.25) |
| CIE-LCH | lch(72.26, 61.08, 328.13°) |
| OKLab | oklab(78.19% 0.1453 -0.0878) |
| OKLCH | oklch(78.19% 0.17 328.8) |
| XYZ | xyz(61.4280, 44.0445, 85.3702) |
| Luminance | 0.4404 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.62
Lavender Pink
#DD85D7
ΔE00 4.37
Purply Pink
#F075E6
ΔE00 4.76
Plum
#DDA0DD
ΔE00 6.81
Candy Pink
#FF63E9
ΔE00 7.22
Bubblegum Pink
#FE83CC
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F28DED #8DF292
analogous
#C48DF2 #F28DED #F28DBB
triadic
#F28DED #EDF28D #8DEDF2
tetradic
#F28DED #F2C48D #8DF292 #8DBBF2
square
#F28DED #F2C48D #8DF292 #8DBBF2
split-complementary
#F28DED #BBF28D #8DF2C4
monochromatic
#E51FDC #EC56E4 #F28DED #F8C4F6 #FCE4FB
Accessibility & contrast
On white
2.14
#F28DED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#F28DED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F28DED
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F28DED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F28DED | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#87A9F0
Deuteranopia (green-blind)
#A2B6EA
Tritanopia (blue-blind)
#F896B2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f28ded; /* rgb */ color: rgb(242, 141, 237); /* oklch */ color: oklch(78.2% 0.170 328.8);
Tailwind
colors: {
custom: {
50: '#f8b1f3',
500: '#f28ded',
950: '#000000',
},
}SCSS
$custom: #f28ded; $custom-light: #f8b1f3; $custom-dark: #000000;
JSON
{
"hex": "#f28ded",
"rgb": {
"r": 242,
"g": 141,
"b": 237
},
"hsl": {
"h": 302.97,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.7819,
"c": 0.16979,
"h": 328.8
},
"luminance": 0.44041
}Semantic roles & 50–950 ramp
primary
#F28DED
secondary
#D7F4D9
accent
#DC140A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085