#F28AED#F28AED
#F28AED is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.8% C 0.175 H 328.8°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).
Color values
| HEX | #F28AED |
|---|---|
| RGB | rgb(242, 138, 237) |
| HSL | hsl(303, 80%, 75%) |
| HSV | hsv(303, 43%, 95%) |
| CMYK | cmyk(0%, 43%, 2.1%, 5.1%) |
| CIE-LAB | lab(71.67, 53.37, -33.16) |
| CIE-LCH | lch(71.67, 62.84, 328.15°) |
| OKLab | oklab(77.75% 0.1495 -0.0904) |
| OKLCH | oklch(77.75% 0.175 328.8) |
| XYZ | xyz(60.9916, 43.1718, 85.2247) |
| Luminance | 0.4317 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.02
Purply Pink
#F075E6
ΔE00 4.14
Lavender Pink
#DD85D7
ΔE00 4.24
Candy Pink
#FF63E9
ΔE00 6.62
Orchid
#DA70D6
ΔE00 7.12
Plum
#DDA0DD
ΔE00 7.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F28AED #8AF28F
analogous
#C38AF2 #F28AED #F28AB9
triadic
#F28AED #EDF28A #8AEDF2
tetradic
#F28AED #F2C38A #8AF28F #8AB9F2
square
#F28AED #F2C38A #8AF28F #8AB9F2
split-complementary
#F28AED #B9F28A #8AF2C3
monochromatic
#E61CDC #EC53E5 #F28AED #F8C1F5 #FCE3FB
Accessibility & contrast
On white
2.18
#F28AED on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.63
#F28AED on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F28AED
9.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F28AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F28AED | 1.00 | 2.18 | 9.63 | 9.63 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A7F0
Deuteranopia (green-blind)
#A0B5EA
Tritanopia (blue-blind)
#F993B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #f28aed; /* rgb */ color: rgb(242, 138, 237); /* oklch */ color: oklch(77.8% 0.175 328.8);
Tailwind
colors: {
custom: {
50: '#f8aff3',
500: '#f28aed',
950: '#000000',
},
}SCSS
$custom: #f28aed; $custom-light: #f8aff3; $custom-dark: #000000;
JSON
{
"hex": "#f28aed",
"rgb": {
"r": 242,
"g": 138,
"b": 237
},
"hsl": {
"h": 302.885,
"s": 80,
"l": 74.51
},
"oklch": {
"l": 0.77752,
"c": 0.17474,
"h": 328.8
},
"luminance": 0.43169
}Semantic roles & 50–950 ramp
primary
#F28AED
secondary
#D7F4D9
accent
#DC1309
background
#FFFAFE
surface
#FFF5FD
border
#D7CFD5
text
#171117
muted
#858085