#F282F6#F282F6
#F282F6 is a light, vivid purple. Relative luminance 0.415; OKLCH L 77.0% C 0.196 H 326.0°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).
Color values
| HEX | #F282F6 |
|---|---|
| RGB | rgb(242, 130, 246) |
| HSL | hsl(298, 87%, 74%) |
| HSV | hsv(298, 47%, 96%) |
| CMYK | cmyk(1.6%, 47.2%, 0%, 3.5%) |
| CIE-LAB | lab(70.52, 58.89, -39.87) |
| CIE-LCH | lch(70.52, 71.11, 325.90°) |
| OKLab | oklab(77.02% 0.1622 -0.1095) |
| OKLCH | oklch(77.02% 0.196 326) |
| XYZ | xyz(61.2338, 41.4994, 91.9557) |
| Luminance | 0.4150 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.24
Purply Pink
#F075E6
ΔE00 3.27
Lavender Pink
#DD85D7
ΔE00 5.43
Candy Pink
#FF63E9
ΔE00 5.45
Light Magenta
#FA5FF7
ΔE00 5.61
Violet Pink
#FB5FFC
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F282F6 #86F682
analogous
#B882F6 #F282F6 #F682C0
triadic
#F282F6 #F6F282 #82F6F2
tetradic
#F282F6 #F6B882 #86F682 #82C0F6
square
#F282F6 #F6B882 #86F682 #82C0F6
split-complementary
#F282F6 #C0F682 #82F6B8
monochromatic
#E511ED #EC49F2 #F282F6 #F8BBFA #FCE2FD
Accessibility & contrast
On white
2.26
#F282F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.30
#F282F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F282F6
9.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F282F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F282F6 | 1.00 | 2.26 | 9.30 | 9.30 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#76A3FA
Deuteranopia (green-blind)
#97B2F2
Tritanopia (blue-blind)
#F78FB1
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #f282f6; /* rgb */ color: rgb(242, 130, 246); /* oklch */ color: oklch(77.0% 0.196 326.0);
Tailwind
colors: {
custom: {
50: '#f8aaf9',
500: '#f282f6',
950: '#000000',
},
}SCSS
$custom: #f282f6; $custom-light: #f8aaf9; $custom-dark: #000000;
JSON
{
"hex": "#f282f6",
"rgb": {
"r": 242,
"g": 130,
"b": 246
},
"hsl": {
"h": 297.931,
"s": 86.567,
"l": 73.725
},
"oklch": {
"l": 0.7702,
"c": 0.19571,
"h": 326
},
"luminance": 0.41496
}Semantic roles & 50–950 ramp
primary
#F282F6
secondary
#D7F5D6
accent
#E3020A
background
#FFFAFF
surface
#FFF4FF
border
#D7CED7
text
#181017
muted
#867F85