#F2C7FF#F2C7FF
#F2C7FF is a very light, moderate purple. Relative luminance 0.669; OKLCH L 88.4% C 0.088 H 318.3°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F2C7FF |
|---|---|
| RGB | rgb(242, 199, 255) |
| HSL | hsl(286, 100%, 89%) |
| HSV | hsv(286, 22%, 100%) |
| CMYK | cmyk(5.1%, 22%, 0%, 0%) |
| CIE-LAB | lab(85.48, 24.82, -21.72) |
| CIE-LCH | lch(85.48, 32.99, 318.81°) |
| OKLab | oklab(88.44% 0.0659 -0.0587) |
| OKLCH | oklch(88.44% 0.088 318.3) |
| XYZ | xyz(75.0888, 66.9453, 103.5545) |
| Luminance | 0.6694 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Lilac
#EDC8FF
ΔE00 1.29
Light Lavendar
#EFC0FE
ΔE00 1.88
Very Light Purple
#F6CEFC
ΔE00 2.73
Pale Lavender
#EECFFE
ΔE00 3.08
Pale Mauve
#FED0FC
ΔE00 4.00
Pale Lilac
#E4CBFF
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2C7FF #D4FFC7
analogous
#D6C7FF #F2C7FF #FFC7F0
triadic
#F2C7FF #FFF2C7 #C7FFF2
tetradic
#F2C7FF #FFD6C7 #D4FFC7 #C7F0FF
square
#F2C7FF #FFD6C7 #D4FFC7 #C7F0FF
split-complementary
#F2C7FF #F0FFC7 #C7FFD6
monochromatic
#D64DFF #E48AFF #F2C7FF #F8E0FF #F8E0FF
Accessibility & contrast
On white
1.46
#F2C7FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#F2C7FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2C7FF
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2C7FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2C7FF | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1D3FF
Deuteranopia (green-blind)
#CAD7FD
Tritanopia (blue-blind)
#F3CDDA
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f2c7ff; /* rgb */ color: rgb(242, 199, 255); /* oklch */ color: oklch(88.4% 0.088 318.3);
Tailwind
colors: {
custom: {
50: '#f6d8ff',
500: '#f2c7ff',
950: '#000000',
},
}SCSS
$custom: #f2c7ff; $custom-light: #f6d8ff; $custom-dark: #000000;
JSON
{
"hex": "#f2c7ff",
"rgb": {
"r": 242,
"g": 199,
"b": 255
},
"hsl": {
"h": 286.071,
"s": 100,
"l": 89.02
},
"oklch": {
"l": 0.88442,
"c": 0.08824,
"h": 318.3
},
"luminance": 0.66944
}Semantic roles & 50–950 ramp
primary
#F2C7FF
secondary
#99E981
accent
#E60035
background
#FFFEFF
surface
#FEFBFF
border
#D6D4D7
text
#171418
muted
#858386