#FC8AFE#FC8AFE
#FC8AFE is a light, vivid purple. Relative luminance 0.460; OKLCH L 79.6% C 0.196 H 326.6°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).
Color values
| HEX | #FC8AFE |
|---|---|
| RGB | rgb(252, 138, 254) |
| HSL | hsl(299, 98%, 77%) |
| HSV | hsv(299, 46%, 100%) |
| CMYK | cmyk(0.8%, 45.7%, 0%, 0.4%) |
| CIE-LAB | lab(73.57, 59.20, -39.39) |
| CIE-LCH | lch(73.57, 71.11, 326.36°) |
| OKLab | oklab(79.65% 0.1637 -0.108) |
| OKLCH | oklch(79.65% 0.196 326.6) |
| XYZ | xyz(67.1214, 46.0316, 99.0962) |
| Luminance | 0.4603 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.09
Purply Pink
#F075E6
ΔE00 5.18
Lavender Pink
#DD85D7
ΔE00 6.75
Candy Pink
#FF63E9
ΔE00 6.89
Violet Pink
#FB5FFC
ΔE00 7.21
Light Magenta
#FA5FF7
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FC8AFE #8CFE8A
analogous
#C28AFE #FC8AFE #FE8AC6
triadic
#FC8AFE #FEFC8A #8AFEFC
tetradic
#FC8AFE #FEC28A #8CFE8A #8AC6FE
square
#FC8AFE #FEC28A #8CFE8A #8AC6FE
split-complementary
#FC8AFE #C6FE8A #8AFEC2
monochromatic
#F911FD #FA4DFD #FC8AFE #FEC7FF #FEE1FF
Accessibility & contrast
On white
2.06
#FC8AFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.21
#FC8AFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FC8AFE
10.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FC8AFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FC8AFE | 1.00 | 2.06 | 10.21 | 10.21 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FABFF
Deuteranopia (green-blind)
#A0BAFA
Tritanopia (blue-blind)
#FF96B8
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #fc8afe; /* rgb */ color: rgb(252, 138, 254); /* oklch */ color: oklch(79.6% 0.196 326.6);
Tailwind
colors: {
custom: {
50: '#ffafff',
500: '#fc8afe',
950: '#000000',
},
}SCSS
$custom: #fc8afe; $custom-light: #ffafff; $custom-dark: #000000;
JSON
{
"hex": "#fc8afe",
"rgb": {
"r": 252,
"g": 138,
"b": 254
},
"hsl": {
"h": 298.966,
"s": 98.305,
"l": 76.863
},
"oklch": {
"l": 0.79646,
"c": 0.19614,
"h": 326.6
},
"luminance": 0.46028
}Semantic roles & 50–950 ramp
primary
#FC8AFE
secondary
#D5F7D4
accent
#E60004
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#181118
muted
#868086