#F271F0#F271F0
#F271F0 is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.5% C 0.216 H 328.1°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #F271F0 |
|---|---|
| RGB | rgb(242, 113, 240) |
| HSL | hsl(301, 83%, 70%) |
| HSV | hsv(301, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 0.8%, 5.1%) |
| CIE-LAB | lab(67.26, 65.81, -41.67) |
| CIE-LCH | lch(67.26, 77.89, 327.66°) |
| OKLab | oklab(74.53% 0.1838 -0.1145) |
| OKLCH | oklch(74.53% 0.217 328.1) |
| XYZ | xyz(58.2504, 36.9823, 86.4913) |
| Luminance | 0.3698 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.81
Light Magenta
#FA5FF7
ΔE00 2.78
Candy Pink
#FF63E9
ΔE00 2.92
Violet Pink
#FB5FFC
ΔE00 3.05
Violet (CSS)
#EE82EE
ΔE00 3.16
Orchid
#DA70D6
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271F0 #71F273
analogous
#B371F2 #F271F0 #F271B0
triadic
#F271F0 #F0F271 #71F0F2
tetradic
#F271F0 #F2B371 #71F273 #71B0F2
square
#F271F0 #F2B371 #71F273 #71B0F2
split-complementary
#F271F0 #B0F271 #71F2B3
monochromatic
#D514D2 #ED39EA #F271F0 #F7A9F6 #FCE1FC
Accessibility & contrast
On white
2.50
#F271F0 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.40
#F271F0 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271F0
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271F0 | 1.00 | 2.50 | 8.40 | 8.40 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6599F4
Deuteranopia (green-blind)
#8EAAEC
Tritanopia (blue-blind)
#F97FA6
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f271f0; /* rgb */ color: rgb(242, 113, 240); /* oklch */ color: oklch(74.5% 0.216 328.1);
Tailwind
colors: {
custom: {
50: '#f99ff5',
500: '#f271f0',
950: '#000000',
},
}SCSS
$custom: #f271f0; $custom-light: #f99ff5; $custom-dark: #000000;
JSON
{
"hex": "#f271f0",
"rgb": {
"r": 242,
"g": 113,
"b": 240
},
"hsl": {
"h": 300.93,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.74528,
"c": 0.2165,
"h": 328.1
},
"luminance": 0.36979
}Semantic roles & 50–950 ramp
primary
#F271F0
secondary
#CDF2CE
accent
#E00906
background
#FFFAFF
surface
#FFF4FE
border
#D7CED6
text
#180F17
muted
#867F85