#F787F2#F787F2
#F787F2 is a light, vivid purple. Relative luminance 0.435; OKLCH L 78.1% C 0.187 H 328.8°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).
Color values
| HEX | #F787F2 |
|---|---|
| RGB | rgb(247, 135, 242) |
| HSL | hsl(303, 88%, 75%) |
| HSV | hsv(303, 45%, 97%) |
| CMYK | cmyk(0%, 45.3%, 2%, 3.1%) |
| CIE-LAB | lab(71.90, 57.16, -35.49) |
| CIE-LCH | lch(71.90, 67.28, 328.17°) |
| OKLab | oklab(78.12% 0.1602 -0.0969) |
| OKLCH | oklch(78.12% 0.187 328.8) |
| XYZ | xyz(63.0479, 43.5163, 89.0658) |
| Luminance | 0.4351 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.83
Purply Pink
#F075E6
ΔE00 3.84
Lavender Pink
#DD85D7
ΔE00 5.12
Candy Pink
#FF63E9
ΔE00 5.99
Light Magenta
#FA5FF7
ΔE00 6.87
Violet Pink
#FB5FFC
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F787F2 #87F78C
analogous
#C487F7 #F787F2 #F787BA
triadic
#F787F2 #F2F787 #87F2F7
tetradic
#F787F2 #F7C487 #87F78C #87BAF7
square
#F787F2 #F7C487 #87F78C #87BAF7
split-complementary
#F787F2 #BAF787 #87F7C4
monochromatic
#EF14E6 #F34EEC #F787F2 #FBC0F8 #FDE2FC
Accessibility & contrast
On white
2.16
#F787F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.70
#F787F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F787F2
9.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F787F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F787F2 | 1.00 | 2.16 | 9.70 | 9.70 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#FE91B1
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #f787f2; /* rgb */ color: rgb(247, 135, 242); /* oklch */ color: oklch(78.1% 0.187 328.8);
Tailwind
colors: {
custom: {
50: '#fcadf6',
500: '#f787f2',
950: '#000000',
},
}SCSS
$custom: #f787f2; $custom-light: #fcadf6; $custom-dark: #000000;
JSON
{
"hex": "#f787f2",
"rgb": {
"r": 247,
"g": 135,
"b": 242
},
"hsl": {
"h": 302.679,
"s": 87.5,
"l": 74.902
},
"oklch": {
"l": 0.7812,
"c": 0.18723,
"h": 328.8
},
"luminance": 0.43513
}Semantic roles & 50–950 ramp
primary
#F787F2
secondary
#D6F5D7
accent
#E40C01
background
#FFFAFF
surface
#FFF5FE
border
#D7CFD6
text
#181017
muted
#867F85