#F273EC#F273EC
#F273EC is a light, highly saturated purple. Relative luminance 0.372; OKLCH L 74.6% C 0.210 H 329.3°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F273EC |
|---|---|
| RGB | rgb(242, 115, 236) |
| HSL | hsl(303, 83%, 70%) |
| HSV | hsv(303, 52%, 95%) |
| CMYK | cmyk(0%, 52.5%, 2.5%, 5.1%) |
| CIE-LAB | lab(67.43, 64.23, -39.21) |
| CIE-LCH | lch(67.43, 75.25, 328.60°) |
| OKLab | oklab(74.59% 0.1806 -0.1075) |
| OKLCH | oklch(74.59% 0.21 329.3) |
| XYZ | xyz(57.8884, 37.1984, 83.4716) |
| Luminance | 0.3720 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply Pink
#F075E6
ΔE00 1.03
Violet (CSS)
#EE82EE
ΔE00 2.76
Candy Pink
#FF63E9
ΔE00 2.81
Light Magenta
#FA5FF7
ΔE00 3.38
Violet Pink
#FB5FFC
ΔE00 3.73
Orchid
#DA70D6
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F273EC #73F279
analogous
#B973F2 #F273EC #F273AC
triadic
#F273EC #ECF273 #73ECF2
tetradic
#F273EC #F2B973 #73F279 #73ACF2
square
#F273EC #F2B973 #73F279 #73ACF2
split-complementary
#F273EC #ACF273 #73F2B9
monochromatic
#D714CD #ED3BE4 #F273EC #F7ABF4 #FCE3FB
Accessibility & contrast
On white
2.49
#F273EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.44
#F273EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F273EC
8.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F273EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F273EC | 1.00 | 2.49 | 8.44 | 8.44 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A99F0
Deuteranopia (green-blind)
#91AAE8
Tritanopia (blue-blind)
#FA7FA5
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #f273ec; /* rgb */ color: rgb(242, 115, 236); /* oklch */ color: oklch(74.6% 0.210 329.3);
Tailwind
colors: {
custom: {
50: '#f9a0f2',
500: '#f273ec',
950: '#000000',
},
}SCSS
$custom: #f273ec; $custom-light: #f9a0f2; $custom-dark: #000000;
JSON
{
"hex": "#f273ec",
"rgb": {
"r": 242,
"g": 115,
"b": 236
},
"hsl": {
"h": 302.835,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.74589,
"c": 0.21019,
"h": 329.3
},
"luminance": 0.37195
}Semantic roles & 50–950 ramp
primary
#F273EC
secondary
#CFF2D0
accent
#DF1006
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#180F17
muted
#867F85