#F282E2#F282E2
#F282E2 is a light, vivid purple. Relative luminance 0.403; OKLCH L 76.1% C 0.178 H 332.7°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #F282E2 |
|---|---|
| RGB | rgb(242, 130, 226) |
| HSL | hsl(309, 81%, 73%) |
| HSV | hsv(309, 46%, 95%) |
| CMYK | cmyk(0%, 46.3%, 6.6%, 5.1%) |
| CIE-LAB | lab(69.71, 55.46, -30.14) |
| CIE-LCH | lch(69.71, 63.12, 331.48°) |
| OKLab | oklab(76.15% 0.1585 -0.0818) |
| OKLCH | oklch(76.15% 0.178 332.7) |
| XYZ | xyz(58.3278, 40.3370, 76.6504) |
| Luminance | 0.4033 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.61
Purply Pink
#F075E6
ΔE00 3.01
Lavender Pink
#DD85D7
ΔE00 3.51
Candy Pink
#FF63E9
ΔE00 5.37
Bubblegum Pink
#FE83CC
ΔE00 5.80
Orchid
#DA70D6
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F282E2 #82F292
analogous
#CA82F2 #F282E2 #F282AA
triadic
#F282E2 #E2F282 #82E2F2
tetradic
#F282E2 #F2CA82 #82F292 #82AAF2
square
#F282E2 #F2CA82 #82F292 #82AAF2
split-complementary
#F282E2 #AAF282 #82F2CA
monochromatic
#E218C5 #EC4BD5 #F282E2 #F8B9EF #FCE3F9
Accessibility & contrast
On white
2.32
#F282E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#F282E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F282E2
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F282E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F282E2 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A0E5
Deuteranopia (green-blind)
#9FB0DF
Tritanopia (blue-blind)
#FB89A8
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #f282e2; /* rgb */ color: rgb(242, 130, 226); /* oklch */ color: oklch(76.1% 0.178 332.7);
Tailwind
colors: {
custom: {
50: '#f8a9eb',
500: '#f282e2',
950: '#000000',
},
}SCSS
$custom: #f282e2; $custom-light: #f8a9eb; $custom-dark: #000000;
JSON
{
"hex": "#f282e2",
"rgb": {
"r": 242,
"g": 130,
"b": 226
},
"hsl": {
"h": 308.571,
"s": 81.159,
"l": 72.941
},
"oklch": {
"l": 0.76146,
"c": 0.17839,
"h": 332.7
},
"luminance": 0.40333
}Semantic roles & 50–950 ramp
primary
#F282E2
secondary
#D7F4DB
accent
#DE2608
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84