#F06BF2#F06BF2
#F06BF2 is a light, highly saturated purple. Relative luminance 0.355; OKLCH L 73.7% C 0.226 H 327.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F06BF2 |
|---|---|
| RGB | rgb(240, 107, 242) |
| HSL | hsl(299, 84%, 68%) |
| HSV | hsv(299, 56%, 95%) |
| CMYK | cmyk(0.8%, 55.8%, 0%, 5.1%) |
| CIE-LAB | lab(66.10, 68.30, -44.61) |
| CIE-LCH | lch(66.10, 81.58, 326.85°) |
| OKLab | oklab(73.65% 0.1893 -0.123) |
| OKLCH | oklch(73.65% 0.226 327) |
| XYZ | xyz(57.2189, 35.4549, 87.8168) |
| Luminance | 0.3545 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.90
Violet Pink
#FB5FFC
ΔE00 2.17
Purply Pink
#F075E6
ΔE00 2.89
Candy Pink
#FF63E9
ΔE00 3.15
Violet (CSS)
#EE82EE
ΔE00 4.35
Orchid
#DA70D6
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F06BF2 #6DF26B
analogous
#AC6BF2 #F06BF2 #F26BB0
triadic
#F06BF2 #F2F06B #6BF2F0
tetradic
#F06BF2 #F2AC6B #6DF26B #6BB0F2
square
#F06BF2 #F2AC6B #6DF26B #6BB0F2
split-complementary
#F06BF2 #B0F26B #6BF2AC
monochromatic
#CD12D0 #EA33ED #F06BF2 #F6A3F7 #FBDCFC
Accessibility & contrast
On white
2.60
#F06BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#F06BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F06BF2
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F06BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F06BF2 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B96F6
Deuteranopia (green-blind)
#87A7EE
Tritanopia (blue-blind)
#F67BA5
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #f06bf2; /* rgb */ color: rgb(240, 107, 242); /* oklch */ color: oklch(73.7% 0.226 327.0);
Tailwind
colors: {
custom: {
50: '#f89cf7',
500: '#f06bf2',
950: '#000000',
},
}SCSS
$custom: #f06bf2; $custom-light: #f89cf7; $custom-dark: #000000;
JSON
{
"hex": "#f06bf2",
"rgb": {
"r": 240,
"g": 107,
"b": 242
},
"hsl": {
"h": 299.111,
"s": 83.851,
"l": 68.431
},
"oklch": {
"l": 0.7365,
"c": 0.22576,
"h": 327
},
"luminance": 0.35451
}Semantic roles & 50–950 ramp
primary
#F06BF2
secondary
#C9F1C8
accent
#E00508
background
#FFFAFF
surface
#FFF3FF
border
#D7CDD7
text
#180F17
muted
#867F85