#F274E2#F274E2
#F274E2 is a light, highly saturated purple. Relative luminance 0.369; OKLCH L 74.3% C 0.201 H 332.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F274E2 |
|---|---|
| RGB | rgb(242, 116, 226) |
| HSL | hsl(308, 83%, 70%) |
| HSV | hsv(308, 52%, 95%) |
| CMYK | cmyk(0%, 52.1%, 6.6%, 5.1%) |
| CIE-LAB | lab(67.17, 62.13, -34.06) |
| CIE-LCH | lch(67.17, 70.85, 331.26°) |
| OKLab | oklab(74.27% 0.1778 -0.0928) |
| OKLCH | oklch(74.27% 0.201 332.4) |
| XYZ | xyz(56.5906, 36.8628, 76.0713) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 0.88
Candy Pink
#FF63E9
ΔE00 2.92
Violet (CSS)
#EE82EE
ΔE00 3.17
Orchid
#DA70D6
ΔE00 4.19
Light Magenta
#FA5FF7
ΔE00 4.63
Lavender Pink
#DD85D7
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F274E2 #74F284
analogous
#C374F2 #F274E2 #F274A3
triadic
#F274E2 #E2F274 #74E2F2
tetradic
#F274E2 #F2C374 #74F284 #74A3F2
square
#F274E2 #F2C374 #74F284 #74A3F2
split-complementary
#F274E2 #A3F274 #74F2C3
monochromatic
#D714BF #ED3CD6 #F274E2 #F7ACEE #FCE3F9
Accessibility & contrast
On white
2.51
#F274E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#F274E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F274E2
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F274E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F274E2 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#96AADE
Tritanopia (blue-blind)
#FB7DA1
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #f274e2; /* rgb */ color: rgb(242, 116, 226); /* oklch */ color: oklch(74.3% 0.201 332.4);
Tailwind
colors: {
custom: {
50: '#f9a1eb',
500: '#f274e2',
950: '#000000',
},
}SCSS
$custom: #f274e2; $custom-light: #f9a1eb; $custom-dark: #000000;
JSON
{
"hex": "#f274e2",
"rgb": {
"r": 242,
"g": 116,
"b": 226
},
"hsl": {
"h": 307.619,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.74265,
"c": 0.20051,
"h": 332.4
},
"luminance": 0.36859
}Semantic roles & 50–950 ramp
primary
#F274E2
secondary
#CFF2D4
accent
#DF2206
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F16
muted
#867F84