#F291EF#F291EF
#F291EF is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.9% C 0.165 H 328.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F291EF |
|---|---|
| RGB | rgb(242, 145, 239) |
| HSL | hsl(302, 79%, 76%) |
| HSV | hsv(302, 40%, 95%) |
| CMYK | cmyk(0%, 40.1%, 1.2%, 5.1%) |
| CIE-LAB | lab(73.13, 50.20, -32.00) |
| CIE-LCH | lch(73.13, 59.53, 327.49°) |
| OKLab | oklab(78.87% 0.14 -0.0872) |
| OKLCH | oklch(78.87% 0.165 328.1) |
| XYZ | xyz(62.3223, 45.3630, 87.1178) |
| Luminance | 0.4536 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 3.32
Lavender Pink
#DD85D7
ΔE00 4.82
Purply Pink
#F075E6
ΔE00 5.57
Plum
#DDA0DD
ΔE00 6.32
Bubblegum Pink
#FE83CC
ΔE00 7.64
Candy Pink
#FF63E9
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F291EF #91F294
analogous
#C491F2 #F291EF #F291BE
triadic
#F291EF #EFF291 #91EFF2
tetradic
#F291EF #F2C491 #91F294 #91BEF2
square
#F291EF #F2C491 #91F294 #91BEF2
split-complementary
#F291EF #BEF291 #91F2C4
monochromatic
#E524DF #EC5AE7 #F291EF #F8C8F7 #FCE4FB
Accessibility & contrast
On white
2.08
#F291EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.07
#F291EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F291EF
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F291EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F291EF | 1.00 | 2.08 | 10.07 | 10.07 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8BACF2
Deuteranopia (green-blind)
#A4B8EC
Tritanopia (blue-blind)
#F89AB5
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #f291ef; /* rgb */ color: rgb(242, 145, 239); /* oklch */ color: oklch(78.9% 0.165 328.1);
Tailwind
colors: {
custom: {
50: '#f8b3f4',
500: '#f291ef',
950: '#000000',
},
}SCSS
$custom: #f291ef; $custom-light: #f8b3f4; $custom-dark: #000000;
JSON
{
"hex": "#f291ef",
"rgb": {
"r": 242,
"g": 145,
"b": 239
},
"hsl": {
"h": 301.856,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.78869,
"c": 0.16494,
"h": 328.1
},
"luminance": 0.4536
}Semantic roles & 50–950 ramp
primary
#F291EF
secondary
#D7F4D8
accent
#DB110A
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085