#F786FD#F786FD
#F786FD is a light, vivid purple. Relative luminance 0.439; OKLCH L 78.5% C 0.199 H 325.4°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).
Color values
| HEX | #F786FD |
|---|---|
| RGB | rgb(247, 134, 253) |
| HSL | hsl(297, 97%, 76%) |
| HSV | hsv(297, 47%, 99%) |
| CMYK | cmyk(2.4%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(72.17, 59.57, -41.07) |
| CIE-LCH | lch(72.17, 72.36, 325.42°) |
| OKLab | oklab(78.47% 0.1635 -0.1128) |
| OKLCH | oklch(78.47% 0.199 325.4) |
| XYZ | xyz(64.6110, 43.9194, 97.9834) |
| Luminance | 0.4392 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.39
Purply Pink
#F075E6
ΔE00 4.46
Candy Pink
#FF63E9
ΔE00 6.30
Violet Pink
#FB5FFC
ΔE00 6.30
Light Magenta
#FA5FF7
ΔE00 6.38
Lavender Pink
#DD85D7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F786FD #8CFD86
analogous
#BB86FD #F786FD #FD86C7
triadic
#F786FD #FDF786 #86FDF7
tetradic
#F786FD #FDBB86 #8CFD86 #86C7FD
square
#F786FD #FDBB86 #8CFD86 #86C7FD
split-complementary
#F786FD #C7FD86 #86FDBB
monochromatic
#EF0EFB #F34AFC #F786FD #FBC2FE #FDE1FF
Accessibility & contrast
On white
2.15
#F786FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.78
#F786FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F786FD
9.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F786FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F786FD | 1.00 | 2.15 | 9.78 | 9.78 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#79A8FF
Deuteranopia (green-blind)
#9AB6F9
Tritanopia (blue-blind)
#FC94B6
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f786fd; /* rgb */ color: rgb(247, 134, 253); /* oklch */ color: oklch(78.5% 0.199 325.4);
Tailwind
colors: {
custom: {
50: '#fcadfe',
500: '#f786fd',
950: '#000000',
},
}SCSS
$custom: #f786fd; $custom-light: #fcadfe; $custom-dark: #000000;
JSON
{
"hex": "#f786fd",
"rgb": {
"r": 247,
"g": 134,
"b": 253
},
"hsl": {
"h": 296.975,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.7847,
"c": 0.19863,
"h": 325.4
},
"luminance": 0.43916
}Semantic roles & 50–950 ramp
primary
#F786FD
secondary
#D6F7D4
accent
#E6000C
background
#FFFAFF
surface
#FFF5FF
border
#D7CFD7
text
#181018
muted
#867F86