#F271E2#F271E2
#F271E2 is a light, highly saturated purple. Relative luminance 0.362; OKLCH L 73.9% C 0.205 H 332.4°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F271E2 |
|---|---|
| RGB | rgb(242, 113, 226) |
| HSL | hsl(307, 83%, 70%) |
| HSV | hsv(307, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 6.6%, 5.1%) |
| CIE-LAB | lab(66.66, 63.50, -34.86) |
| CIE-LCH | lch(66.66, 72.44, 331.23°) |
| OKLab | oklab(73.89% 0.1817 -0.095) |
| OKLCH | oklch(73.89% 0.205 332.4) |
| XYZ | xyz(56.2504, 36.1823, 75.9579) |
| Luminance | 0.3618 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.99
Candy Pink
#FF63E9
ΔE00 2.52
Violet (CSS)
#EE82EE
ΔE00 3.55
Orchid
#DA70D6
ΔE00 3.99
Light Magenta
#FA5FF7
ΔE00 4.22
Violet Pink
#FB5FFC
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271E2 #71F281
analogous
#C271F2 #F271E2 #F271A2
triadic
#F271E2 #E2F271 #71E2F2
tetradic
#F271E2 #F2C271 #71F281 #71A2F2
square
#F271E2 #F2C271 #71F281 #71A2F2
split-complementary
#F271E2 #A2F271 #71F2C2
monochromatic
#D514BD #ED39D7 #F271E2 #F7A9ED #FCE1F9
Accessibility & contrast
On white
2.55
#F271E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#F271E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271E2
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271E2 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D96E6
Deuteranopia (green-blind)
#94A9DE
Tritanopia (blue-blind)
#FB7AA0
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #f271e2; /* rgb */ color: rgb(242, 113, 226); /* oklch */ color: oklch(73.9% 0.205 332.4);
Tailwind
colors: {
custom: {
50: '#f99feb',
500: '#f271e2',
950: '#000000',
},
}SCSS
$custom: #f271e2; $custom-light: #f99feb; $custom-dark: #000000;
JSON
{
"hex": "#f271e2",
"rgb": {
"r": 242,
"g": 113,
"b": 226
},
"hsl": {
"h": 307.442,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.73885,
"c": 0.20506,
"h": 332.4
},
"luminance": 0.36178
}Semantic roles & 50–950 ramp
primary
#F271E2
secondary
#CDF2D2
accent
#E02106
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84