#F271E8#F271E8
#F271E8 is a light, highly saturated purple. Relative luminance 0.365; OKLCH L 74.2% C 0.210 H 330.5°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F271E8 |
|---|---|
| RGB | rgb(242, 113, 232) |
| HSL | hsl(305, 83%, 70%) |
| HSV | hsv(305, 53%, 95%) |
| CMYK | cmyk(0%, 53.3%, 4.1%, 5.1%) |
| CIE-LAB | lab(66.91, 64.48, -37.79) |
| CIE-LCH | lch(66.91, 74.74, 329.62°) |
| OKLab | oklab(74.16% 0.1827 -0.1034) |
| OKLCH | oklch(74.16% 0.21 330.5) |
| XYZ | xyz(57.0881, 36.5174, 80.3699) |
| Luminance | 0.3651 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.78
Candy Pink
#FF63E9
ΔE00 2.44
Violet (CSS)
#EE82EE
ΔE00 3.18
Light Magenta
#FA5FF7
ΔE00 3.47
Violet Pink
#FB5FFC
ΔE00 3.92
Orchid
#DA70D6
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F271E8 #71F27B
analogous
#BC71F2 #F271E8 #F271A8
triadic
#F271E8 #E8F271 #71E8F2
tetradic
#F271E8 #F2BC71 #71F27B #71A8F2
square
#F271E8 #F2BC71 #71F27B #71A8F2
split-complementary
#F271E8 #A8F271 #71F2BC
monochromatic
#D514C6 #ED39DF #F271E8 #F7A9F1 #FCE1FA
Accessibility & contrast
On white
2.53
#F271E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.30
#F271E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F271E8
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F271E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F271E8 | 1.00 | 2.53 | 8.30 | 8.30 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A97EC
Deuteranopia (green-blind)
#91A9E4
Tritanopia (blue-blind)
#FA7CA2
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f271e8; /* rgb */ color: rgb(242, 113, 232); /* oklch */ color: oklch(74.2% 0.210 330.5);
Tailwind
colors: {
custom: {
50: '#f99fef',
500: '#f271e8',
950: '#000000',
},
}SCSS
$custom: #f271e8; $custom-light: #f99fef; $custom-dark: #000000;
JSON
{
"hex": "#f271e8",
"rgb": {
"r": 242,
"g": 113,
"b": 232
},
"hsl": {
"h": 304.651,
"s": 83.226,
"l": 69.608
},
"oklch": {
"l": 0.74155,
"c": 0.20989,
"h": 330.5
},
"luminance": 0.36514
}Semantic roles & 50–950 ramp
primary
#F271E8
secondary
#CDF2D0
accent
#E01706
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84