#F271E6#F271E6
#F271E6 is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 74.1% C 0.208 H 331.1°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F271E6 |
|---|---|
| RGB | rgb(242, 113, 230) |
| HSL | hsl(306, 83%, 70%) |
| HSV | hsv(306, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 5%, 5.1%) |
| CIE-LAB | lab(66.83, 64.15, -36.82) |
| CIE-LCH | lch(66.83, 73.97, 330.15°) |
| OKLab | oklab(74.06% 0.1824 -0.1006) |
| OKLCH | oklch(74.06% 0.208 331.1) |
| XYZ | xyz(56.8057, 36.4044, 78.8823) |
| Luminance | 0.3640 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.70
Candy Pink
#FF63E9
ΔE00 2.42
Violet (CSS)
#EE82EE
ΔE00 3.27
Light Magenta
#FA5FF7
ΔE00 3.70
Orchid
#DA70D6
ΔE00 4.09
Violet Pink
#FB5FFC
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271E6 #71F27D
analogous
#BD71F2 #F271E6 #F271A6
triadic
#F271E6 #E6F271 #71E6F2
tetradic
#F271E6 #F2BD71 #71F27D #71A6F2
square
#F271E6 #F2BD71 #71F27D #71A6F2
split-complementary
#F271E6 #A6F271 #71F2BD
monochromatic
#D514C3 #ED39DC #F271E6 #F7A9F0 #FCE1FA
Accessibility & contrast
On white
2.54
#F271E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.28
#F271E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271E6
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271E6 | 1.00 | 2.54 | 8.28 | 8.28 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B97EA
Deuteranopia (green-blind)
#92A9E2
Tritanopia (blue-blind)
#FB7CA1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f271e6; /* rgb */ color: rgb(242, 113, 230); /* oklch */ color: oklch(74.1% 0.208 331.1);
Tailwind
colors: {
custom: {
50: '#f99fee',
500: '#f271e6',
950: '#000000',
},
}SCSS
$custom: #f271e6; $custom-light: #f99fee; $custom-dark: #000000;
JSON
{
"hex": "#f271e6",
"rgb": {
"r": 242,
"g": 113,
"b": 230
},
"hsl": {
"h": 305.581,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.74064,
"c": 0.20827,
"h": 331.1
},
"luminance": 0.36401
}Semantic roles & 50–950 ramp
primary
#F271E6
secondary
#CDF2D0
accent
#E01A06
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84